Skip unecessary check for pong recieved (#8585)
This commit is contained in:
parent
7de6451818
commit
98d2e0017d
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user