From 2677c97d397b4c3fead2510b9487ea9d68a63841 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 11 Mar 2013 10:42:14 +0100 Subject: [PATCH] Make comment name match var name in activeExpireCycle(). --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index c6c99c79..853dfeb7 100644 --- a/src/redis.c +++ b/src/redis.c @@ -684,7 +684,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); }