mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
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.
This commit is contained in:
parent
3f9e2322ec
commit
98db5739cc
@ -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
|
* 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
|
* 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) {
|
void activeExpireCycle(int type) {
|
||||||
/* This function has some global state in order to continue the work
|
/* This function has some global state in order to continue the work
|
||||||
|
Loading…
x
Reference in New Issue
Block a user