diff options
author | lorneli <lorneli@163.com> | 2017-04-08 15:15:24 +0800 |
---|---|---|
committer | lorneli <lorneli@163.com> | 2017-04-08 15:15:24 +0800 |
commit | 98db5739cc2f7fa4a7f0a661250cf1ebba78525b (patch) | |
tree | 9f0f2a4c399d162f05848dca83c5b16620427821 /src/expire.c | |
parent | 3f9e2322ececcbc5ca284cbd3d0d61c0ef322032 (diff) | |
download | redis-98db5739cc2f7fa4a7f0a661250cf1ebba78525b.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.
Diffstat (limited to 'src/expire.c')
-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 |