Last active
June 21, 2020 15:02
-
-
Save mowings/ce376f229ed49f4bddcc09659efbae1e to your computer and use it in GitHub Desktop.
postgres tcp keepalive setting in rails. May be needed for kubernetes rails deployments, especially sneakers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
production: | |
url: <%= DATABASE_URL %> | |
variables: | |
tcp_keepalives_idle: 300 | |
tcp_keepalives_interval: 20 | |
tcp_keepalives_count: 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment