From cba8eaf4c9d61bd374847d71964d26478e4c755b Mon Sep 17 00:00:00 2001 From: chx9 Date: Tue, 8 Oct 2024 23:07:51 +0800 Subject: [PATCH] fix typo (#1136) Signed-off-by: chx9 --- src/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object.c b/src/object.c index 2508f20ab..8c1cf6489 100644 --- a/src/object.c +++ b/src/object.c @@ -1416,7 +1416,7 @@ int objectSetLRUOrLFU(robj *val, long long lfu_freq, long long lru_idle, long lo lru_idle = lru_idle * lru_multiplier / LRU_CLOCK_RESOLUTION; long lru_abs = lru_clock - lru_idle; /* Absolute access time. */ /* If the LRU field underflows (since lru_clock is a wrapping clock), - * we need to make it positive again. This be handled by the unwrapping + * we need to make it positive again. This will be handled by the unwrapping * code in estimateObjectIdleTime. I.e. imagine a day when lru_clock * wrap arounds (happens once in some 6 months), and becomes a low * value, like 10, an lru_idle of 1000 should be near LRU_CLOCK_MAX. */