mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
Fix outdated lfu-decay-time doc in redis.conf (#11108)
The divided by two and less <= 10 logics were changed in06ca9d6839
. Now we just decrement the counter by num_periods. The lfu-decay-time special value of 0 's meaning was actually changed in06ca9d6839
. Now we won't do anything on counter if lfu-decay-time is 0.
This commit is contained in:
parent
99ebbee2b2
commit
1f600efd01
@ -2167,11 +2167,10 @@ rdb-save-incremental-fsync yes
|
||||
# to accumulate hits.
|
||||
#
|
||||
# The counter decay time is the time, in minutes, that must elapse in order
|
||||
# for the key counter to be divided by two (or decremented if it has a value
|
||||
# less <= 10).
|
||||
# for the key counter to be decremented.
|
||||
#
|
||||
# The default value for the lfu-decay-time is 1. A special value of 0 means to
|
||||
# decay the counter every time it happens to be scanned.
|
||||
# The default value for the lfu-decay-time is 1. A special value of 0 means we
|
||||
# will never decay the counter.
|
||||
#
|
||||
# lfu-log-factor 10
|
||||
# lfu-decay-time 1
|
||||
|
Loading…
Reference in New Issue
Block a user