mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
added config options sleep_delay and sleep_monitor
sleep_monitor replaces the old SLEEP_MONITOR define and makes it configurable; this is the interval in which we monitor sleep_delay replaces the old sleep(300) when waiting for the master to recover.
This commit is contained in:
@@ -47,3 +47,15 @@ pg_bindir=/usr/bin/
|
||||
# redirect stderr to a logfile
|
||||
#
|
||||
# logfile='/var/log/repmgr.log'
|
||||
|
||||
#
|
||||
# change monitoring interval; default is 2s
|
||||
#
|
||||
# sleep_monitor=2
|
||||
|
||||
#
|
||||
# change wait time for master; before we bail out and exit when the
|
||||
# master disappears, we wait 6 * sleep_delay seconds; by default this
|
||||
# would be half an hour (since sleep_delay default value is 300)
|
||||
#
|
||||
# sleep_delay=300
|
||||
|
||||
Reference in New Issue
Block a user