mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Don't say 'standbies', especially when we don't actually do anything
This commit is contained in:
11
repmgrd.c
11
repmgrd.c
@@ -319,22 +319,19 @@ main(int argc, char **argv)
|
||||
log_info(_("starting continuous primary connection check\n"));
|
||||
|
||||
/*
|
||||
* Check that primary is still alive, and standbies are
|
||||
* sending info
|
||||
* Check that primary is still alive.
|
||||
* XXX We should also check that the
|
||||
* standby servers are sending info
|
||||
*/
|
||||
|
||||
/*
|
||||
* Every local_options.monitor_interval_secs seconds, do
|
||||
* master checks XXX Check that standbies are sending info
|
||||
* master checks
|
||||
*/
|
||||
do
|
||||
{
|
||||
if (check_connection(primary_conn, "master"))
|
||||
{
|
||||
/*
|
||||
* CheckActiveStandbiesConnections();
|
||||
* CheckInactiveStandbies();
|
||||
*/
|
||||
sleep(local_options.monitor_interval_secs);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user