mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Update the startup script timeouts (#399)
* Update the startup script shutdown / startup timeout to allow the current sync node time to release the role in synchronous_mode. Without this change Patroni will be killed while waiting, and will leave PostgreSQL up rather than stopping it. * Updates to support strict sync mode. If synchronous_mode_strict==true then 'patroni_dummy_host' will be written as synchronous_standby_names when that last replication host dies. * Oops, mixed two pull requests - backing out one
This commit is contained in:
committed by
Alexander Kukushkin
parent
8553e120e4
commit
208c7abaab
@@ -21,7 +21,7 @@ ExecStart=/bin/patroni /etc/patroni.yml
|
||||
KillMode=process
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down
|
||||
TimeoutSec=10
|
||||
TimeoutSec=30
|
||||
|
||||
# Do not restart the service if it crashes, we want to manually inspect database on failure
|
||||
Restart=no
|
||||
|
||||
Reference in New Issue
Block a user