summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-03-11 10:42:14 +0100
committerantirez <antirez@gmail.com>2013-03-11 11:30:04 +0100
commit7e7ee815b0ef75696874c7fa96d2d11653df1548 (patch)
treeecd140e87aaeb10134db877622250c2dd075c4c1 /src/redis.c
parent6a8288766c3ca5e381f815ffe483e5457630dd95 (diff)
downloadredis-7e7ee815b0ef75696874c7fa96d2d11653df1548.tar.gz
Make comment name match var name in activeExpireCycle().
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index 29aaf79a0..3421be90c 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -687,7 +687,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);
}