Merge commit 'caf74e507e6535dab58ce6f3db19f8b594b5f7ca' into unstable
Former-commit-id: 8ebe2fce3da506639acb37fedf1a2d3e47669572
This commit is contained in:
commit
c2eba1f742
@ -2971,7 +2971,7 @@ void replicationCron(void) {
|
||||
|
||||
/* First, send PING according to ping_slave_period. */
|
||||
if ((replication_cron_loops % g_pserver->repl_ping_slave_period) == 0 &&
|
||||
listLength(g_pserver->slaves))
|
||||
listLength(g_pserver->slaves) && !clientsArePaused())
|
||||
{
|
||||
ping_argv[0] = createStringObject("PING",4);
|
||||
replicationFeedSlaves(g_pserver->slaves, g_pserver->slaveseldb,
|
||||
|
Loading…
x
Reference in New Issue
Block a user