From da76d251f0d8382c34515c79932374f3c36dd8d1 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Mon, 23 Oct 2023 13:49:59 +0200 Subject: [PATCH] Raise PostgreSQL connection maximum Signed-off-by: magic_rb --- nixng/containers/hydra/postgresql.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixng/containers/hydra/postgresql.nix b/nixng/containers/hydra/postgresql.nix index c5de5cb..fd7b7db 100644 --- a/nixng/containers/hydra/postgresql.nix +++ b/nixng/containers/hydra/postgresql.nix @@ -25,6 +25,10 @@ makeSystem { authentication = "host all all all md5"; + config = { + max_connections = 40; + }; + ensureDatabases = [ "hydra" ]; ensureExtensions = { "pg_trgm" = [ "hydra" ];