Add wait_timeout and reconnect to database.ym.

This commit is contained in:
simplefl 2015-05-26 19:06:40 +02:00
parent 95ca542186
commit 06633bd7a1

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