Add wait_timeout and reconnect to database.ym.

This commit is contained in:
simplefl 2015-05-26 19:06:40 +02:00
parent 055f896c3f
commit e182bfda75

View file

@ -6,6 +6,9 @@ base: &db
username: <%= ENV['MYSQL_USERNAME'] %>
password: <%= ENV['MYSQL_PASSWORD'] %>
pool: <%= Integer(ENV['MYSQL_CONNECTION_POOL'] || 8) %>
wait_timeout: 30
reconnect: true
development:
<<: *db