diff options
author | Matt Stancliff <matt@genges.com> | 2014-12-16 00:49:14 -0500 |
---|---|---|
committer | Matt Stancliff <matt@genges.com> | 2015-01-02 11:16:10 -0500 |
commit | 02bb515a094c081fcbc3e33c60a5dbff440eb447 (patch) | |
tree | d9c803b0998f16fb4c87feab072eb47353fe100d /src/redis.c | |
parent | bbbbfb14422ee84e4b79330f299ddacf9be23d88 (diff) | |
download | redis-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.c | 4 |
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; |