diff --git a/config/database.yml b/config/database.yml index fd6969b5ac0..c6885991fb4 100644 --- a/config/database.yml +++ b/config/database.yml @@ -9,6 +9,10 @@ default: &default host: <%= ENV['DB_HOSTNAME'] %> port: <%= ENV['DB_PORT'] %> database: <%= ENV['DB_DATABASE'] %> + keepalives: 1 + keepalives_idle: 60 + keepalives_interval: 10 + keepalives_count: 3 development: <<: *default