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

This commit is contained in:
Alan Rominger
2024-01-17 13:44:04 -05:00
committed by GitHub
parent 5cd029df96
commit d91da39f81
3 changed files with 33 additions and 7 deletions

View File

@@ -37,6 +37,18 @@ DATABASES = {
}
}
# Special database overrides for dispatcher connections listening to pg_notify
LISTENER_DATABASES = {
'default': {
'OPTIONS': {
'keepalives': 1,
'keepalives_idle': 5,
'keepalives_interval': 5,
'keepalives_count': 5,
},
}
}
# Whether or not the deployment is a K8S-based deployment
# In K8S-based deployments, instances have zero capacity - all playbook
# automation is intended to flow through defined Container Groups that