Don't say 'standbies', especially when we don't actually do anything

This commit is contained in:
Abhijit Menon-Sen
2015-03-12 17:49:27 +05:30
parent cc1e285d90
commit 2c69119eff

View File

@@ -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