Commit 4292cf01 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Supposedly the fix for #324: An oversight in r3188



git-svn-id: http://www.varnish-cache.org/svn/trunk@3213 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f81fdf71
......@@ -441,6 +441,8 @@ wrk_decimate_flock(struct wq *qp, double t_idle, struct varnish_stats *vs)
w = VTAILQ_LAST(&qp->idle, workerhead);
if (w != NULL && (w->lastused < t_idle || qp->nthr > nthr_max))
VTAILQ_REMOVE(&qp->idle, w, list);
else
w = NULL;
}
UNLOCK(&qp->mtx);
......
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