Skip to content

Commit

Permalink
Add keepalives params to postgres driver config
Browse files Browse the repository at this point in the history
  • Loading branch information
mnacos committed Jan 15, 2021
1 parent a168124 commit ee7a1e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee7a1e0

Please sign in to comment.