From 879a585b66a5d60e4c18203b694412a4765ad085 Mon Sep 17 00:00:00 2001 From: Shilpa Seshadri Date: Thu, 24 Oct 2019 18:20:20 -0700 Subject: [PATCH] Update retry time in connection-health-file --- src/connection.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/connection.c b/src/connection.c index 02bae7b..0ad29dd 100644 --- a/src/connection.c +++ b/src/connection.c @@ -214,6 +214,13 @@ int update_backoff_delay (backoff_timer_t *timer) static void backoff_delay (backoff_timer_t *timer) { update_backoff_delay (timer); + + // Update retry time for conn progress + if(timer->count == timer->max_count) + { + start_conn_in_progress(); + } + ParodusInfo("Waiting with backoffRetryTime %d seconds\n", timer->delay); sleep (timer->delay); }