Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8f61a72f
"vscode:/vscode.git/clone" did not exist on "463ccf86642ae35e18cf0c84be4e8e9e7c905c70"
Commit
8f61a72f
authored
Sep 13, 2011
by
antirez
Browse files
add background jobs initialization to Redis main init function
parent
f81a5f54
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
8f61a72f
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include "redis.h"
#include "redis.h"
#include "slowlog.h"
#include "slowlog.h"
#include "bio.h"
#ifdef HAVE_BACKTRACE
#ifdef HAVE_BACKTRACE
#include <execinfo.h>
#include <execinfo.h>
...
@@ -966,6 +967,7 @@ void initServer() {
...
@@ -966,6 +967,7 @@ void initServer() {
if
(
server
.
cluster_enabled
)
clusterInit
();
if
(
server
.
cluster_enabled
)
clusterInit
();
scriptingInit
();
scriptingInit
();
slowlogInit
();
slowlogInit
();
bioInit
();
srand
(
time
(
NULL
)
^
getpid
());
srand
(
time
(
NULL
)
^
getpid
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment