X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/cc7c4158bc9c584b91560e9bf3dff51a9316c9b3..59aee5513d27fdf2d24499f35611093fa0fab3fb:/redis.conf diff --git a/redis.conf b/redis.conf index 05374ed7..3efd1e59 100644 --- a/redis.conf +++ b/redis.conf @@ -377,6 +377,19 @@ glueoutputbuf yes hash-max-zipmap-entries 64 hash-max-zipmap-value 512 +# Similarly to hashes, small lists are also encoded in a special way in order +# to save a lot of space. The special representation is only used when +# you are under the following limits: +list-max-ziplist-entries 512 +list-max-ziplist-value 64 + +# Sets have a special encoding in just one case: when a set is composed +# of just strings that happens to be integers in radix 10 in the range +# of 64 bit signed integers. +# The following configuration setting sets the limit in the size of the +# set in order to use this special memory saving encoding. +set-max-intset-entries 512 + # Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in # order to help rehashing the main Redis hash table (the one mapping top-level # keys to values). The hash table implementation redis uses (see dict.c)