From 98db5739cc2f7fa4a7f0a661250cf1ebba78525b Mon Sep 17 00:00:00 2001 From: lorneli Date: Sat, 8 Apr 2017 15:15:24 +0800 Subject: [PATCH] Expire: Update comment of activeExpireCycle function The macro REDIS_EXPIRELOOKUPS_TIME_PERC has been replaced by ACTIVE_EXPIRE_CYCLE_SLOW_TIME_PERC in commit 6500fabfb881a7ffaadfbff74ab801c55d4591fc. --- src/expire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expire.c b/src/expire.c index 637139f63..22b1f1da9 100644 --- a/src/expire.c +++ b/src/expire.c @@ -92,7 +92,7 @@ int activeExpireCycleTryExpire(redisDb *db, dictEntry *de, long long now) { * * If type is ACTIVE_EXPIRE_CYCLE_SLOW, that normal expire cycle is * executed, where the time limit is a percentage of the REDIS_HZ period - * as specified by the REDIS_EXPIRELOOKUPS_TIME_PERC define. */ + * as specified by the ACTIVE_EXPIRE_CYCLE_SLOW_TIME_PERC define. */ void activeExpireCycle(int type) { /* This function has some global state in order to continue the work