diff options
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf index dfc9de308..408d0c258 100644 --- a/redis.conf +++ b/redis.conf @@ -1951,13 +1951,20 @@ list-max-listpack-size -2 # etc. list-compress-depth 0 -# Sets have a special encoding in just one case: when a set is composed +# Sets have a special encoding when a set is composed # of just strings that happen 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 +# Sets containing non-integer values are also encoded using a memory efficient +# data structure when they have a small number of entries, and the biggest entry +# does not exceed a given threshold. These thresholds can be configured using +# the following directives. +set-max-listpack-entries 128 +set-max-listpack-value 64 + # Similarly to hashes and lists, sorted sets are also specially encoded in # order to save a lot of space. This encoding is only used when the length and # elements of a sorted set are below the following limits: |