Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- replicationCron中
- /* First, send PING according to ping_slave_period. */
- if ((replication_cron_loops % server.repl_ping_slave_period) == 0 &&
- listLength(server.slaves))
- {
- ping_argv[0] = createStringObject("PING",4);
- replicationFeedSlaves(server.slaves, server.slaveseldb,
- ping_argv, 1);
- decrRefCount(ping_argv[0]);
- }
- 貌似没有条件,会固定 的ping slave
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement