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

This commit is contained in:
antirez
2014-10-16 10:22:02 +02:00
parent 31b0e13268
commit 583a762cd9
4 changed files with 18 additions and 5 deletions

View File

@ -114,8 +114,8 @@ typedef long long mstime_t; /* millisecond time type. */
#define REDIS_DEFAULT_RDB_COMPRESSION 1
#define REDIS_DEFAULT_RDB_CHECKSUM 1
#define REDIS_DEFAULT_RDB_FILENAME "dump.rdb"
#define REDIS_DEFAULT_RDB_DISKLESS_SYNC 0
#define REDIS_DEFAULT_RDB_DISKLESS_SYNC_DELAY 5
#define REDIS_DEFAULT_REPL_DISKLESS_SYNC 0
#define REDIS_DEFAULT_REPL_DISKLESS_SYNC_DELAY 5
#define REDIS_DEFAULT_SLAVE_SERVE_STALE_DATA 1
#define REDIS_DEFAULT_SLAVE_READ_ONLY 1
#define REDIS_DEFAULT_REPL_DISABLE_TCP_NODELAY 0