test background close operation removed

This commit is contained in:
antirez 2011-09-13 16:57:18 +02:00
parent d47ded66ce
commit b1c892f3f6

View File

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