Commit 99446dd6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make sure the grim reaper doesn't touch busy objects either.


git-svn-id: http://www.varnish-cache.org/svn/trunk@356 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 34499f6a
......@@ -56,6 +56,11 @@ exp_hangman(void *arg)
TAILQ_FOREACH(o, &exp_deathrow, deathrow) {
if (o->ttl >= t)
break;
if (o->busy) {
VSL(SLT_Debug, 0,
"Grim Reaper: Busy object xid %u", o->xid);
continue;
}
if (o->refcnt == 0)
break;
}
......
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