summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-01-25 04:02:42 +0800
committerGitHub <noreply@github.com>2022-01-24 22:02:42 +0200
commit495ac8b79a4566abd05e201f06334cdd570258ef (patch)
tree57317050b285319b2cf122128903beaccb6145a8 /redis.conf
parent7eadc5ee7062c6de00323c1b8a9598d1b5684217 (diff)
downloadredis-495ac8b79a4566abd05e201f06334cdd570258ef.tar.gz
Fix outdated save key word in redis.conf (#10166)
For some complex data types, server.dirty actually counts the number of elements that have been changed. And in FLUSHDB or FLUSHALL, we count the number of keys. So the word "key" is not strictly correct and is outdated. Some discussion can be seen at #8140.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/redis.conf b/redis.conf
index c31203ecc..c1f95ae33 100644
--- a/redis.conf
+++ b/redis.conf
@@ -412,9 +412,9 @@ proc-title-template "{title} {listen-addr} {server-mode}"
# save ""
#
# Unless specified otherwise, by default Redis will save the DB:
-# * After 3600 seconds (an hour) if at least 1 key changed
-# * After 300 seconds (5 minutes) if at least 100 keys changed
-# * After 60 seconds if at least 10000 keys changed
+# * After 3600 seconds (an hour) if at least 1 change was performed
+# * After 300 seconds (5 minutes) if at least 100 changes were performed
+# * After 60 seconds if at least 10000 changes were performed
#
# You can set these explicitly by uncommenting the following line.
#