Make comment name match var name in activeExpireCycle().

This commit is contained in:
antirez 2013-03-11 10:42:14 +01:00
parent 1f7d2c1e27
commit 4b1ccdfd49

View File

@ -713,7 +713,7 @@ void activeExpireCycle(void) {
* expire. So after a given amount of milliseconds return to the
* caller waiting for the other active expire cycle. */
iteration++;
if ((iteration & 0xf) == 0 && /* check once every 16 cycles. */
if ((iteration & 0xf) == 0 && /* check once every 16 iterations. */
(ustime()-start) > timelimit) return;
} while (expired > REDIS_EXPIRELOOKUPS_PER_CRON/4);
}