diff options
author | lorneli <lorneli@163.com> | 2017-04-08 15:15:24 +0800 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-04-18 16:16:51 +0200 |
commit | b740fc1ee346d6e03d21810bb3012ffb256f5d54 (patch) | |
tree | 0596add0c7cf4f118305502620709956b647f406 | |
parent | 56cafcceacfac3a8b097f3884dab1499b33731a7 (diff) | |
download | redis-b740fc1ee346d6e03d21810bb3012ffb256f5d54.tar.gz |
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.
-rw-r--r-- | src/expire.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |