From 8f61a72fa8912968cb7fd21a5fae36de7ffab790 Mon Sep 17 00:00:00 2001
From: antirez <antirez@gmail.com>
Date: Tue, 13 Sep 2011 16:10:26 +0200
Subject: [PATCH] add background jobs initialization to Redis main init
 function

---
 src/redis.c | 2 ++
 1 file changed, 2 insertions(+)

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());
 }
 
-- 
2.47.2