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

New setting for pg_notify listener DB settings, add keepalive #14755

Merged
merged 1 commit into from Jan 17, 2024

Conversation

AlanCoding
Copy link
Member

SUMMARY

This solves the same problem as #14749

This does effectively re-do some of what ansible/awx-operator#1393 does. I would suggest that those awx-operator settings should then be modified to edit LISTENER_DATABASES as opposed to DATABASES.

The benefit of this is that we do not add the keealive messages to the ordinary connections, of which there may be many. In many deployments, max connections is set to 1024... so this seems potentially excessive, even if they are lightweight. But maybe it's not a big deal and we could just close this and keep to the old approach. I just want to fully volunteer what this looks like.

Tested and works for the steps I described in 14749.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

TheRealHaoLiu added a commit to TheRealHaoLiu/awx-operator that referenced this pull request Jan 16, 2024
Related to ansible/awx#14755

move TCP keepalive to pg_listener specific db setting
@AlanCoding AlanCoding merged commit d91da39 into ansible:devel Jan 17, 2024
22 checks passed
TheRealHaoLiu added a commit to ansible/awx-operator that referenced this pull request Jan 17, 2024
Related to ansible/awx#14755

move TCP keepalive to pg_listener specific db setting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants