summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-12-16 00:49:14 -0500
committerMatt Stancliff <matt@genges.com>2015-01-02 11:16:10 -0500
commit02bb515a094c081fcbc3e33c60a5dbff440eb447 (patch)
treed9c803b0998f16fb4c87feab072eb47353fe100d /src/redis.c
parentbbbbfb14422ee84e4b79330f299ddacf9be23d88 (diff)
downloadredis-02bb515a094c081fcbc3e33c60a5dbff440eb447.tar.gz
Config: Add quicklist, remove old list options
This removes: - list-max-ziplist-entries - list-max-ziplist-value This adds: - list-max-ziplist-size - list-compress-depth Also updates config file with new sections and updates tests to use quicklist settings instead of old list settings.
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redis.c b/src/redis.c
index ee88eddb5..a4d9e562c 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -1449,8 +1449,8 @@ void initServerConfig(void) {
server.maxmemory_samples = REDIS_DEFAULT_MAXMEMORY_SAMPLES;
server.hash_max_ziplist_entries = REDIS_HASH_MAX_ZIPLIST_ENTRIES;
server.hash_max_ziplist_value = REDIS_HASH_MAX_ZIPLIST_VALUE;
- server.list_max_ziplist_entries = REDIS_LIST_MAX_ZIPLIST_ENTRIES;
- server.list_max_ziplist_value = REDIS_LIST_MAX_ZIPLIST_VALUE;
+ server.list_max_ziplist_size = REDIS_LIST_MAX_ZIPLIST_SIZE;
+ server.list_compress_depth = REDIS_LIST_COMPRESS_DEPTH;
server.set_max_intset_entries = REDIS_SET_MAX_INTSET_ENTRIES;
server.zset_max_ziplist_entries = REDIS_ZSET_MAX_ZIPLIST_ENTRIES;
server.zset_max_ziplist_value = REDIS_ZSET_MAX_ZIPLIST_VALUE;