Commit 7bd45f21 authored by Nils Goroll's avatar Nils Goroll

adjust no_thread.vtc to pesi.set(thread, false) and make it tighter

parent 91da0143
...@@ -131,7 +131,8 @@ server s21 { ...@@ -131,7 +131,8 @@ server s21 {
txresp -body { <pre>Included file 19</pre> } txresp -body { <pre>Included file 19</pre> }
} -start } -start
varnish v1 -arg "-p vcc_err_unref=off" -vcl+backend { # XXX why is max=3 not enough?
varnish v1 -arg "-p thread_pools=1 -p thread_pool_min=3 -p thread_pool_max=4 -p vcc_err_unref=off" -vcl+backend {
import ${vmod_pesi}; import ${vmod_pesi};
sub vcl_backend_response { sub vcl_backend_response {
...@@ -206,6 +207,7 @@ varnish v1 -arg "-p vcc_err_unref=off" -vcl+backend { ...@@ -206,6 +207,7 @@ varnish v1 -arg "-p vcc_err_unref=off" -vcl+backend {
sub vcl_deliver { sub vcl_deliver {
pesi.activate(); pesi.activate();
pesi.set(thread, false);
} }
} -start } -start
...@@ -378,6 +380,7 @@ varnish v1 -vcl+backend { ...@@ -378,6 +380,7 @@ varnish v1 -vcl+backend {
sub vcl_deliver { sub vcl_deliver {
pesi.activate(); pesi.activate();
pesi.set(thread, false);
} }
} }
......
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