From 0dab62ebff068e32845b7f9f5153bbc199c45269 Mon Sep 17 00:00:00 2001 From: Jonas Gaffke Date: Thu, 9 Nov 2023 15:29:42 +0100 Subject: [PATCH] postgres: increse max_connections to 1000 --- modules/postgres.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/postgres.nix b/modules/postgres.nix index 331c24a..69fabd2 100644 --- a/modules/postgres.nix +++ b/modules/postgres.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { # automatically back up all databases services.postgresqlBackup = { @@ -19,4 +19,6 @@ "mailmanweb" ]; }; + + services.postgresql.settings.max_connections = 1000; }