Increase max connections to postgres

This commit is contained in:
niten 2023-08-29 22:47:10 -07:00
parent c2513cafdc
commit 2cae0801bb
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ in {
postgres.service = {
image = cfg.images.postgres;
restart = "always";
command = "-c 'max_connections=300'";
volumes =
[ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ];
healthcheck = {