From 556ff3c311dc398aca57cc1e1b6116dbf6bc681c Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 1 Nov 2016 15:56:57 +0900 Subject: [PATCH] repmgrd: clarify master_response_timeout --- dbutils.c | 1 - repmgr.conf.sample | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dbutils.c b/dbutils.c index 19df0b32..ea7efb00 100644 --- a/dbutils.c +++ b/dbutils.c @@ -279,7 +279,6 @@ is_pgup(PGconn *conn, int timeout) /* Check the connection status twice in case it changes after reset */ bool twice = false; - /* Check the connection status twice in case it changes after reset */ for (;;) { if (PQstatus(conn) != CONNECTION_OK) diff --git a/repmgr.conf.sample b/repmgr.conf.sample index 20215b3d..8acc8fa2 100644 --- a/repmgr.conf.sample +++ b/repmgr.conf.sample @@ -163,9 +163,8 @@ # 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. - +# Maximum number of seconds to wait for a response from the primary server +# before deciding it has failed. #master_response_timeout=60 # Number of attempts at what interval (in seconds) to try and