diff --git a/config/database.yml b/config/database.yml index c18ed69..0573d66 100644 --- a/config/database.yml +++ b/config/database.yml @@ -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