From dfd732dff397d77df4d3dd23e9beb2fb9650d031 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 8 Mar 2013 13:59:50 +0100 Subject: [PATCH] Actually call databasesCron() inside serverCron(). --- src/redis.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/redis.c b/src/redis.c index c48b71a89..ce8c7b6dc 100644 --- a/src/redis.c +++ b/src/redis.c @@ -932,6 +932,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) { /* We need to do a few operations on clients asynchronously. */ clientsCron(); + /* Handle background operations on Redis databases. */ + databasesCron(); + /* Start a scheduled AOF rewrite if this was requested by the user while * a BGSAVE was in progress. */ if (server.rdb_child_pid == -1 && server.aof_child_pid == -1 &&