Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds keepalive values to postgresql config #3333

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

acozine
Copy link
Contributor

@acozine acozine commented Sep 16, 2022

Closes #2305
Closes #2784
Related to pulibrary/bibdata#1566 and pulibrary/bibdata#1959

Controls TCP keepalive settings for postgresql using database configuration instead of accepting the default settings from the operating system.

Creating this as a draft until we determine the best time intervals to try. The current OS settings wait 2 hours before closing an inactive connection. Our goal is to close unused connections quickly enough that there are always connections available when they are needed, while still allowing enough time for long-running connections to finish their work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant