From: antirez <antirez@gmail.com>
Date: Tue, 13 Sep 2011 14:10:26 +0000 (+0200)
Subject: add background jobs initialization to Redis main init function
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/8f61a72fa8912968cb7fd21a5fae36de7ffab790

add background jobs initialization to Redis main init function
---

diff --git a/src/redis.c b/src/redis.c
index 77f4666c..8662191f 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -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());
 }