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
d2033feb
Commit
d2033feb
authored
Jan 02, 2011
by
antirez
Browse files
fixed cache-flush-delay configuration parsing
parent
4942145d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
d2033feb
...
...
@@ -778,6 +778,7 @@ void initServerConfig() {
server.list_max_ziplist_value = REDIS_LIST_MAX_ZIPLIST_VALUE;
server.set_max_intset_entries = REDIS_SET_MAX_INTSET_ENTRIES;
server.shutdown_asap = 0;
server.cache_flush_delay = 0;
updateLRUClock();
resetServerSaveParams();
...
...
@@ -827,7 +828,6 @@ void initServer() {
server.monitors = listCreate();
server.unblocked_clients = listCreate();
server.cache_io_queue = listCreate();
server
.
cache_flush_delay
=
0
;
createSharedObjects();
server.el = aeCreateEventLoop();
...
...
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