]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
blocking load of keys on lookup -- nor tested, nor finished
[redis.git] / src / redis.c
index 13fe0f3c6d6a71828993d4c1dbf11888b51c98a4..bb917f50f0c7db3ca346dd12dfa971638bf8c704 100644 (file)
@@ -596,7 +596,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
             }
             updateDictResizePolicy();
         }
-    } else {
+    } else if (!server.ds_enabled) {
         /* If there is not a background saving in progress check if
          * we have to save now */
          time_t now = time(NULL);