increase max connections

This commit is contained in:
Trevor Batley 2023-11-05 09:33:52 +11:00
parent 9fc6e00199
commit 2d07bc27fc

View File

@ -175,6 +175,9 @@ EOF
#host koji koji 127.0.0.1/32 trust #host koji koji 127.0.0.1/32 trust
#host koji koji ::1/128 trust #host koji koji ::1/128 trust
# increase the max connections as koji appears to be very chatty
sed -i "/^max_connections =/ s/100/1000/" "/var/lib/pgsql/data/postgresql.conf"
systemctl reload postgresql systemctl reload postgresql
# Bootstrapping the initial koji admin user into the PostgreSQL database # Bootstrapping the initial koji admin user into the PostgreSQL database