Skip to content

Commit 196543c

Browse files
committed
fix: increase postgres start timeout
Without an explicit setting, systemd seems to default to using the stop timeout for starts as well. This causes issues when PG needs longer to start up w/ recovery etc.
1 parent 48e6a39 commit 196543c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ansible/files/postgresql_config/postgresql.service.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ExecReload=/bin/kill -HUP $MAINPID
1414
KillMode=mixed
1515
KillSignal=SIGINT
1616
TimeoutStopSec=90
17+
TimeoutStartSec=1800
1718
Restart=always
1819
RestartSec=5
1920
OOMScoreAdjust=-1000

0 commit comments

Comments
 (0)