repmgrd: clarify master_response_timeout

This commit is contained in:
Ian Barwick
2016-11-01 15:56:57 +09:00
parent 251486546d
commit 556ff3c311
2 changed files with 2 additions and 4 deletions

View File

@@ -279,7 +279,6 @@ is_pgup(PGconn *conn, int timeout)
/* Check the connection status twice in case it changes after reset */ /* Check the connection status twice in case it changes after reset */
bool twice = false; bool twice = false;
/* Check the connection status twice in case it changes after reset */
for (;;) for (;;)
{ {
if (PQstatus(conn) != CONNECTION_OK) if (PQstatus(conn) != CONNECTION_OK)

View File

@@ -163,9 +163,8 @@
# monitoring interval in seconds; default is 2 # monitoring interval in seconds; default is 2
#monitor_interval_secs=2 #monitor_interval_secs=2
# Number of seconds to wait for a response from the primary server before # Maximum number of seconds to wait for a response from the primary server
# deciding it has failed. # before deciding it has failed.
#master_response_timeout=60 #master_response_timeout=60
# Number of attempts at what interval (in seconds) to try and # Number of attempts at what interval (in seconds) to try and