X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/8f61a72fa8912968cb7fd21a5fae36de7ffab790..d47ded66ce3c36eb41f38a20ebb5633dfa2e77b0:/src/redis.c diff --git a/src/redis.c b/src/redis.c index 8662191f..3289ec1e 100644 --- a/src/redis.c +++ b/src/redis.c @@ -709,6 +709,7 @@ 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; }