mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
add background jobs initialization to Redis main init function
This commit is contained in:
parent
f81a5f54d8
commit
8f61a72fa8
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user