diff options
author | antirez <antirez@gmail.com> | 2018-01-11 11:40:57 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-01-11 11:40:57 +0100 |
commit | db7bd6fda9ec0ab942c49e0ec72b12e03d1345f6 (patch) | |
tree | 95205125d582d6f43a5b1bb9ae29f0b144c08f2f /redis.conf | |
parent | 13650446ac220136ed717fada3d0990298d5d87c (diff) | |
download | redis-db7bd6fda9ec0ab942c49e0ec72b12e03d1345f6.tar.gz |
Document new protocol options in #4568 into redis.conf.
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index 7eb692a8d..1e1f5313f 100644 --- a/redis.conf +++ b/redis.conf @@ -1156,6 +1156,20 @@ client-output-buffer-limit normal 0 0 0 client-output-buffer-limit slave 256mb 64mb 60 client-output-buffer-limit pubsub 32mb 8mb 60 +# Client query buffers accumulate new commands. They are limited to a fixed +# amount by default in order to avoid that a protocol desynchronization (for +# instance due to a bug in the client) will lead to unbound memory usage in +# the query buffer. However you can configure it here if you have very special +# needs, such us huge multi/exec requests or alike. +# +# client-query-buffer-limit 1gb + +# In the Redis protocol, bulk requests, that are, elements representing single +# strings, are normally limited ot 512 mb. However you can change this limit +# here. +# +# proto-max-bulk-len 512mb + # Redis calls an internal function to perform many background tasks, like # closing connections of clients in timeout, purging expired keys that are # never requested, and so forth. |