]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
AOF fixes in the context of replicaiton (when AOF is used by slave) and CONFIG SET...
[redis.git] / src / redis.c
index 28240b03d7eee3a7b696bfe670d2ee4fc5d0d459..f75aa791a212cbb8c55ad0b7727d202a8add88ae 100644 (file)
@@ -880,6 +880,7 @@ void initServerConfig() {
     server.auto_aofrewrite_min_size = REDIS_AUTO_AOFREWRITE_MIN_SIZE;
     server.auto_aofrewrite_base_size = 0;
     server.aofrewrite_scheduled = 0;
+    server.aof_wait_rewrite = 0;
     server.lastfsync = time(NULL);
     server.appendfd = -1;
     server.appendseldb = -1; /* Make sure the first time will not match */