diff --git a/src/redis.c b/src/redis.c index 3289ec1e..8662191f 100644 --- a/src/redis.c +++ b/src/redis.c @@ -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; }