Skip to content

Commit

Permalink
fix: increase postgres start timeout
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
darora committed May 19, 2023
1 parent 48e6a39 commit 196543c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/files/postgresql_config/postgresql.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
KillSignal=SIGINT
TimeoutStopSec=90
TimeoutStartSec=1800
Restart=always
RestartSec=5
OOMScoreAdjust=-1000
Expand Down

0 comments on commit 196543c

Please sign in to comment.