From 6089b5b50c767cb1a173b2d2febe001cf2b1bc74 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 7 May 2013 14:59:08 +0200 Subject: [PATCH] Increase PostgreSQL's shutdown timeout to 3 minutes 1 minute is too short, given that the autovacuum launcher often seems to require exactly 1 minute to shut down. (This might be a bug related to autovacuum_naptime.) --- modules/services/databases/postgresql.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/databases/postgresql.nix b/modules/services/databases/postgresql.nix index 2926bc62940..28ea4b7dcf0 100644 --- a/modules/services/databases/postgresql.nix +++ b/modules/services/databases/postgresql.nix @@ -190,7 +190,7 @@ in # Give Postgres a decent amount of time to clean up after # receiving systemd's SIGINT. - TimeoutSec = 60; + TimeoutSec = 120; }; # Wait for PostgreSQL to be ready to accept connections.