From d2033feb5cd94872fc02fe9506d21ccb5ebf286e Mon Sep 17 00:00:00 2001 From: antirez Date: Sun, 2 Jan 2011 22:27:26 +0100 Subject: [PATCH] fixed cache-flush-delay configuration parsing --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 9d7cc92d..c567710e 100644 --- a/src/redis.c +++ b/src/redis.c @@ -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(); -- 2.45.2