postgresql: up connection limit to 2000

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-07-31 09:04:21 -07:00
parent 8ecfcafefc
commit c1d0206256

View file

@ -66,7 +66,7 @@ listen_addresses = '*'
{% if ansible_hostname.startswith("db-koji") %}
max_connections = 3000 # (change requires restart)
{% else %}
max_connections = 750 # (change requires restart)
max_connections = 2000 # (change requires restart)
{% endif %}
#superuser_reserved_connections = 3 # (change requires restart)
#unix_socket_directories = '/var/run/postgresql, /tmp' # comma-separated list of directories