mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
Make comment name match var name in activeExpireCycle().
This commit is contained in:
parent
1f7d2c1e27
commit
4b1ccdfd49
@ -713,7 +713,7 @@ void activeExpireCycle(void) {
|
|||||||
* expire. So after a given amount of milliseconds return to the
|
* expire. So after a given amount of milliseconds return to the
|
||||||
* caller waiting for the other active expire cycle. */
|
* caller waiting for the other active expire cycle. */
|
||||||
iteration++;
|
iteration++;
|
||||||
if ((iteration & 0xf) == 0 && /* check once every 16 cycles. */
|
if ((iteration & 0xf) == 0 && /* check once every 16 iterations. */
|
||||||
(ustime()-start) > timelimit) return;
|
(ustime()-start) > timelimit) return;
|
||||||
} while (expired > REDIS_EXPIRELOOKUPS_PER_CRON/4);
|
} while (expired > REDIS_EXPIRELOOKUPS_PER_CRON/4);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user