repmgrd: fix issue with incorrect reconnect_interval

Addresses GitHub #673.
This commit is contained in:
Ian Barwick
2020-11-25 20:40:28 +09:00
parent 7bca9df223
commit 4d8bc63834

View File

@@ -5381,7 +5381,7 @@ try_primary_reconnect(PGconn **conn, PGconn *local_conn, t_node_info *node_info)
time_t started_at = time(NULL);
int up_to;
bool sleep_now = false;
bool max_sleep_seconds;
int max_sleep_seconds;
log_info(_("checking state of node \"%s\" (ID: %i), %i of %i attempts"),
node_info->node_name,