Commit af14408e authored by antirez's avatar antirez
Browse files

add background jobs initialization to Redis main init function

parent ed56ad56
......@@ -29,6 +29,7 @@
#include "redis.h"
#include "slowlog.h"
#include "bio.h"
#ifdef HAVE_BACKTRACE
#include <execinfo.h>
......@@ -964,6 +965,7 @@ void initServer() {
if (server.vm_enabled) vmInit();
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