]> git.saurik.com Git - redis.git/commitdiff
test background close operation removed
authorantirez <antirez@gmail.com>
Tue, 13 Sep 2011 14:57:18 +0000 (16:57 +0200)
committerantirez <antirez@gmail.com>
Tue, 13 Sep 2011 14:57:18 +0000 (16:57 +0200)
src/redis.c

index 3289ec1e19c66ac7fe0f5b76adf77788722efff5..8662191fb2eb2fcfcbd7955c656858d8da6eae9e 100644 (file)
@@ -709,7 +709,6 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
     /* Run other sub-systems specific cron jobs */
     if (server.cluster_enabled && !(loops % 10)) clusterCron();
 
-if (!(loops % 10)) bioCreateBackgroundJob(REDIS_BIO_CLOSE_FILE,(void*)1000);
     server.cronloops++;
     return 100;
 }