Tweak repmgr.conf.sample

Put `monitor_interval_secs` at the start of the `repmgrd` section, as it's
a very fundamental configuration item.
This commit is contained in:
Ian Barwick
2016-10-03 15:57:33 +09:00
parent a2d67e85de
commit 0a9f8e160a

View File

@@ -160,6 +160,9 @@
# These settings are only applied when repmgrd is running. Values shown
# are defaults.
# monitoring interval in seconds; default is 2
#monitor_interval_secs=2
# Number of seconds to wait for a response from the primary server before
# deciding it has failed.
@@ -187,9 +190,6 @@
#promote_command='repmgr standby promote -f /path/to/repmgr.conf'
#follow_command='repmgr standby follow -f /path/to/repmgr.conf -W'
# monitoring interval in seconds; default is 2
#monitor_interval_secs=2
# change wait time for primary; before we bail out and exit when the primary
# disappears, we wait 'reconnect_attempts' * 'retry_promote_interval_secs'
# seconds; by default this would be half an hour, as 'retry_promote_interval_secs'