mirror of
https://github.com/fluencelabs/redis
synced 2025-05-03 06:22:13 +00:00
Actually call databasesCron() inside serverCron().
This commit is contained in:
parent
21822fd0e9
commit
aa7f74c7e9
@ -906,6 +906,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
|
|||||||
/* We need to do a few operations on clients asynchronously. */
|
/* We need to do a few operations on clients asynchronously. */
|
||||||
clientsCron();
|
clientsCron();
|
||||||
|
|
||||||
|
/* Handle background operations on Redis databases. */
|
||||||
|
databasesCron();
|
||||||
|
|
||||||
/* Start a scheduled AOF rewrite if this was requested by the user while
|
/* Start a scheduled AOF rewrite if this was requested by the user while
|
||||||
* a BGSAVE was in progress. */
|
* a BGSAVE was in progress. */
|
||||||
if (server.rdb_child_pid == -1 && server.aof_child_pid == -1 &&
|
if (server.rdb_child_pid == -1 && server.aof_child_pid == -1 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user