mirror of
https://github.com/fluencelabs/redis
synced 2025-04-10 11:16:06 +00:00
actually call the function to async free clients in serverCron().
This commit is contained in:
parent
7eac2a75a4
commit
8c43e66346
@ -754,6 +754,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
|
|||||||
* in order to guarantee a strict consistency. */
|
* in order to guarantee a strict consistency. */
|
||||||
if (server.masterhost == NULL) activeExpireCycle();
|
if (server.masterhost == NULL) activeExpireCycle();
|
||||||
|
|
||||||
|
/* Close clients that need to be closed asynchronous */
|
||||||
|
freeClientsInAsyncFreeQueue();
|
||||||
|
|
||||||
/* Replication cron function -- used to reconnect to master and
|
/* Replication cron function -- used to reconnect to master and
|
||||||
* to detect transfer failures. */
|
* to detect transfer failures. */
|
||||||
if (!(loops % 10)) replicationCron();
|
if (!(loops % 10)) replicationCron();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user