It is now possible to enable/disable RDB checksum computation from redis.conf or via CONFIG SET/GET. Also CONFIG SET support added for rdbcompression as well.

This commit is contained in:
antirez
2012-04-10 15:47:10 +02:00
parent 7f4f86f427
commit 39d1e350d9
5 changed files with 36 additions and 5 deletions

View File

@ -1045,6 +1045,7 @@ void initServerConfig() {
server.aof_filename = zstrdup("appendonly.aof");
server.requirepass = NULL;
server.rdb_compression = 1;
server.rdb_checksum = 1;
server.activerehashing = 1;
server.maxclients = REDIS_MAX_CLIENTS;
server.bpop_blocked_clients = 0;