From 8fc7bf21503553fb93a3fc95579bc04a28a323f6 Mon Sep 17 00:00:00 2001 From: Nao YONASHIRO Date: Thu, 30 Apr 2020 10:25:27 +0900 Subject: [PATCH] docs: fix EXPIRE_FAST_CYCLE_DURATION to ACTIVE_EXPIRE_CYCLE_FAST_DURATION --- src/expire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expire.c b/src/expire.c index 30a27193d..e56022a29 100644 --- a/src/expire.c +++ b/src/expire.c @@ -97,7 +97,7 @@ int activeExpireCycleTryExpire(redisDb *db, dictEntry *de, long long now) { * conditions: * * If type is ACTIVE_EXPIRE_CYCLE_FAST the function will try to run a - * "fast" expire cycle that takes no longer than EXPIRE_FAST_CYCLE_DURATION + * "fast" expire cycle that takes no longer than ACTIVE_EXPIRE_CYCLE_FAST_DURATION * microseconds, and is not repeated again before the same amount of time. * The cycle will also refuse to run at all if the latest slow cycle did not * terminate because of a time limit condition.