From 8c43e66346bf917ce13b85e79700a2183fa01ab7 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 23 Jan 2012 16:17:22 +0100 Subject: [PATCH] actually call the function to async free clients in serverCron(). --- src/redis.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/redis.c b/src/redis.c index 711cebe0..71a5131f 100644 --- a/src/redis.c +++ b/src/redis.c @@ -754,6 +754,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) { * in order to guarantee a strict consistency. */ if (server.masterhost == NULL) activeExpireCycle(); + /* Close clients that need to be closed asynchronous */ + freeClientsInAsyncFreeQueue(); + /* Replication cron function -- used to reconnect to master and * to detect transfer failures. */ if (!(loops % 10)) replicationCron(); -- 2.47.2