Commit 7e7ee815 authored by antirez's avatar antirez
Browse files

Make comment name match var name in activeExpireCycle().

parent 6a828876
...@@ -687,7 +687,7 @@ void activeExpireCycle(void) { ...@@ -687,7 +687,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);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment