mirror of
https://github.com/fluencelabs/redis
synced 2025-04-24 01:52:13 +00:00
Merge pull request #6029 from chendq8/clientpause
fix cluster failover time out
This commit is contained in:
commit
caf74e507e
@ -2601,7 +2601,7 @@ void replicationCron(void) {
|
||||
|
||||
/* First, send PING according to ping_slave_period. */
|
||||
if ((replication_cron_loops % server.repl_ping_slave_period) == 0 &&
|
||||
listLength(server.slaves))
|
||||
listLength(server.slaves) && !clientsArePaused())
|
||||
{
|
||||
ping_argv[0] = createStringObject("PING",4);
|
||||
replicationFeedSlaves(server.slaves, server.slaveseldb,
|
||||
|
Loading…
x
Reference in New Issue
Block a user