diff options
author | antirez <antirez@gmail.com> | 2013-03-11 10:42:14 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-03-11 11:30:04 +0100 |
commit | 7e7ee815b0ef75696874c7fa96d2d11653df1548 (patch) | |
tree | ecd140e87aaeb10134db877622250c2dd075c4c1 /src/redis.c | |
parent | 6a8288766c3ca5e381f815ffe483e5457630dd95 (diff) | |
download | redis-7e7ee815b0ef75696874c7fa96d2d11653df1548.tar.gz |
Make comment name match var name in activeExpireCycle().
Diffstat (limited to 'src/redis.c')
-rw-r--r-- | src/redis.c | 2 |
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); } |