Commit fa3e1419 authored by Nils Goroll's avatar Nils Goroll

setting thread_pool_timeout is useless because vtc_mode overrides

the herder delay to .5 seconds anyway
parent 310e4254
......@@ -9,7 +9,6 @@ varnish v1 \
-arg "-p thread_pool_min=2" \
-arg "-p thread_pool_max=3" \
-arg "-p thread_pools=1" \
-arg "-p thread_pool_timeout=10" \
-vcl+backend {}
varnish v1 -start
......@@ -24,16 +23,16 @@ logexpect l1 -v v1 -g raw {
varnish v1 -cliok "param.set thread_pool_min 3"
# Have to wait longer than thread_pool_timeout
delay 11
# thread_pool_timeout overridden by vtc_mode with delay=0.5
delay 1
varnish v1 -expect threads == 3
varnish v1 -cliok "param.set thread_pool_min 2"
varnish v1 -cliok "param.set thread_pool_max 2"
# Have to wait longer than thread_pool_timeout
delay 11
# thread_pool_timeout overridden by vtc_mode with delay=0.5
delay 1
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