]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
add background jobs initialization to Redis main init function
[redis.git] / src / redis.c
index 77f4666c2d4aba2c55cd9da77881adabc882178c..8662191fb2eb2fcfcbd7955c656858d8da6eae9e 100644 (file)
@@ -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());
 }