Diskless replication: redis.conf and CONFIG SET/GET support.

This commit is contained in:
antirez
2014-10-16 10:22:02 +02:00
parent 42951ab301
commit 43ae606430
4 changed files with 18 additions and 5 deletions

View File

@ -1967,7 +1967,8 @@ void replicationCron(void) {
}
}
if (slaves_waiting && max_idle > REDIS_DEFAULT_RDB_DISKLESS_SYNC_DELAY) {
if (slaves_waiting && max_idle > REDIS_DEFAULT_REPL_DISKLESS_SYNC_DELAY)
{
/* Let's start a BGSAVE with disk target. */
if (startBgsaveForReplication() == REDIS_OK) {
/* It started! We need to change the state of slaves