From 495ac8b79a4566abd05e201f06334cdd570258ef Mon Sep 17 00:00:00 2001 From: Binbin Date: Tue, 25 Jan 2022 04:02:42 +0800 Subject: 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. --- redis.conf | 6 +++--- 1 file 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. # -- cgit v1.2.1