Commit 8f61a72f authored by antirez's avatar antirez
Browse files

add background jobs initialization to Redis main init function

parent f81a5f54
......@@ -29,6 +29,7 @@
#include "redis.h"
#include "slowlog.h"
#include "bio.h"
#ifdef HAVE_BACKTRACE
#include <execinfo.h>
......@@ -966,6 +967,7 @@ void initServer() {
if (server.cluster_enabled) clusterInit();
scriptingInit();
slowlogInit();
bioInit();
srand(time(NULL)^getpid());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment