mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
repmgrd: clarify master_response_timeout
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user