mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
"standby promote": make timeout values configurable
This introduces following new configuration file parameters, which were previously hard-coded values: - promote_check_timeout - promote_check_interval Implements GitHub #387.
This commit is contained in:
@@ -161,7 +161,7 @@ ssh_options='-q -o ConnectTimeout=10' # Options to append to "ssh"
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Standby clone settings
|
||||
# "standby clone" settings
|
||||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# These settings apply when cloning a standby ("repmgr standby clone").
|
||||
@@ -178,6 +178,20 @@ ssh_options='-q -o ConnectTimeout=10' # Options to append to "ssh"
|
||||
#restore_command='' # This will be placed in the recovery.conf
|
||||
# file generated by repmgr
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# "standby promote" settings
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# These settings apply when instructing a standby to promote itself to the
|
||||
# new primary ("repmgr standby promote").
|
||||
|
||||
#promote_check_timeout=60 # The length of time (in seconds) to wait
|
||||
# for the new primary to finish promoting
|
||||
#promote_check_interval=1 # The interval (in seconds) to check whether
|
||||
# the new primary has finished promoting
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Standby follow settings
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user