From 98d2e0017d6b556468bfff399d07ad794945defb Mon Sep 17 00:00:00 2001 From: Madelyn Olson <34459052+madolson@users.noreply.github.com> Date: Wed, 24 Mar 2021 19:37:38 -0700 Subject: [PATCH] Skip unecessary check for pong recieved (#8585) --- src/cluster.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index ee30cf6be..76278c866 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -3630,7 +3630,6 @@ void clusterCron(void) { now - node->link->ctime > server.cluster_node_timeout && /* was not already reconnected */ node->ping_sent && /* we already sent a ping */ - node->pong_received < node->ping_sent && /* still waiting pong */ /* and we are waiting for the pong more than timeout/2 */ ping_delay > server.cluster_node_timeout/2 && /* and in such interval we are not seeing any traffic at all. */