Add wait_timeout and reconnect to database.ym.

This commit is contained in:
simplefl 2015-05-26 19:06:40 +02:00 committed by Chris Blanchard
parent 0bf9d7fc7c
commit 6b1f3d5999

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