mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +00:00
Add wait_timeout and reconnect to database.ym.
This commit is contained in:
parent
055f896c3f
commit
e182bfda75
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