mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
repmgrd: log restored connection only after a break
This commit is contained in:
committed by
Greg Smith
parent
ec30caef0f
commit
b62ad056f1
@@ -230,8 +230,11 @@ MonitorExecute(void)
|
|||||||
PQreset(primaryConn);
|
PQreset(primaryConn);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (connection_retries > 0)
|
||||||
{
|
{
|
||||||
log_notice(_("Connection to master has been restored, continue monitoring."));
|
log_notice(_("Connection to master has been restored, continue monitoring."));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user