Merge pull request #576 from saj/fix-slave-ping-period

Bug fix: slaves being pinged every second
This commit is contained in:
Salvatore Sanfilippo
2012-09-05 06:59:37 -07:00
2 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ struct redisServer {
char *masterauth; /* AUTH with this password with master */
char *masterhost; /* Hostname of master */
int masterport; /* Port of master */
int repl_ping_slave_period; /* Master pings the salve every N seconds */
int repl_ping_slave_period; /* Master pings the slave every N seconds */
int repl_timeout; /* Timeout after N seconds of master idle */
redisClient *master; /* Client that is master for this slave */
int repl_syncio_timeout; /* Timeout for synchronous I/O calls */