From 2d07bc27fc256be7b5b4e643678125cf7db93496 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sun, 5 Nov 2023 09:33:52 +1100 Subject: [PATCH] increase max connections --- koji-setup/koji-deploy-hub.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koji-setup/koji-deploy-hub.sh b/koji-setup/koji-deploy-hub.sh index 187624d..08e6219 100644 --- a/koji-setup/koji-deploy-hub.sh +++ b/koji-setup/koji-deploy-hub.sh @@ -175,6 +175,9 @@ EOF #host koji koji 127.0.0.1/32 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 # Bootstrapping the initial koji admin user into the PostgreSQL database