提交 8f61a72f 编写于 作者: A antirez

add background jobs initialization to Redis main init function

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册