summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-06-07 14:37:56 +0200
committerantirez <antirez@gmail.com>2018-06-07 14:37:56 +0200
commitf847dd3ad8aac54f1f5b2919da3b27155926d343 (patch)
treed5186da00a9d070f7defb7aa02b4957ad1a84b21 /redis.conf
parenta7dbe37d53075118c6db37848007df49ca69ce9a (diff)
downloadredis-f847dd3ad8aac54f1f5b2919da3b27155926d343.tar.gz
Streams: better document the max node limits.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf
index e7a227ab8..3d1095c72 100644
--- a/redis.conf
+++ b/redis.conf
@@ -1110,7 +1110,10 @@ hll-sparse-max-bytes 3000
# tree of big nodes that encode multiple items inside. Using this configuration
# it is possible to configure how big a single node can be in bytes, and the
# maximum number of items it may contain before switching to a new node when
-# appending new stream entries.
+# appending new stream entries. If any of the following settings are set to
+# zero, the limit is ignored, so for instance it is possible to set just a
+# max entires limit by setting max-bytes to 0 and max-entries to the desired
+# value.
stream-node-max-bytes 4096
stream-node-max-entires 100