Replace hard-coded value with local_options.reconnect_attempts;

This commit is contained in:
Ian Barwick
2015-01-12 14:09:44 +09:00
parent 905a2d0a5e
commit d9f83cf620
2 changed files with 5 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ pg_bindir=/usr/bin/
#
# change wait time for master; before we bail out and exit when the
# master disappears, we wait 6 * retry_promote_interval_secs seconds;
# master disappears, we wait reconnect_attempts * retry_promote_interval_secs seconds;
# by default this would be half an hour (since sleep_delay default
# value is 300)
#