From adc99947bcb8814fbac9a03a0b733d7ea82e7d14 Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 19 Oct 2023 02:46:43 -0400 Subject: [PATCH] postgres: increase max_connections --- hosts/arashi/services/postgresql.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/arashi/services/postgresql.nix b/hosts/arashi/services/postgresql.nix index 0d68d38..9dafe60 100644 --- a/hosts/arashi/services/postgresql.nix +++ b/hosts/arashi/services/postgresql.nix @@ -11,6 +11,8 @@ port = 5432; settings = { listen_addresses = lib.mkForce "*"; + max_connections = "300"; + shared_buffers = "80MB"; }; authentication = '' local all all trust