Commit 691d5ac9 authored by Nils Goroll's avatar Nils Goroll

finally get r01490.vtc right

(i hope)

Trouble here is that in pool_herder(), we access pp->dry unprotected, so
we might see an old value, thus we might breed more than wthread_min
even if the dry condition does not exist any more.

So for the vtc, we need to wait until wthread_timeout has passed and the
surplus thread has been kissed to death.

Notice that this does not change with #2942 because there the same
unprotected access happens to lqueue.
parent 37b6c832
......@@ -13,7 +13,8 @@ varnish v1 \
-vcl+backend {}
varnish v1 -start
delay 2
# we might have over-bred
delay 11
varnish v1 -expect threads == 2
......
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