mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
Add wait_timeout and reconnect to database.ym.
This commit is contained in:
parent
95ca542186
commit
06633bd7a1
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ base: &db
|
||||||
username: <%= ENV['MYSQL_USERNAME'] %>
|
username: <%= ENV['MYSQL_USERNAME'] %>
|
||||||
password: <%= ENV['MYSQL_PASSWORD'] %>
|
password: <%= ENV['MYSQL_PASSWORD'] %>
|
||||||
pool: <%= Integer(ENV['MYSQL_CONNECTION_POOL'] || 8) %>
|
pool: <%= Integer(ENV['MYSQL_CONNECTION_POOL'] || 8) %>
|
||||||
|
wait_timeout: 30
|
||||||
|
reconnect: true
|
||||||
|
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *db
|
<<: *db
|
||||||
|
|
Loading…
Reference in a new issue