]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
It is now possible to enable/disable RDB checksum computation from redis.conf or...
[redis.git] / src / redis.c
index c79f49d41a2909f12bd450f03c87bf254ffabf49..43487bc8ee31d41c0b8fa39da9815c3ab8b96c33 100644 (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;