From 4d8bc6383412eb7ac4c5faa539184787eef5eed9 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 25 Nov 2020 20:40:28 +0900 Subject: [PATCH] repmgrd: fix issue with incorrect reconnect_interval Addresses GitHub #673. --- repmgrd-physical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index aa6d1188..ffb5d756 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -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,