[4.0] 1cf2d3c Reduce default thread pool size to 10 threads, no need to stress the pthread implementation in *every* test case.
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jun 24 11:31:54 CEST 2014
commit 1cf2d3c4dbd9923d41dde296252a51b727b74188
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Jun 4 12:20:54 2014 +0000
Reduce default thread pool size to 10 threads, no need to stress
the pthread implementation in *every* test case.
diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 14b94be..c559810 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -386,6 +386,7 @@ varnish_launch(struct varnish *v)
VSB_printf(vsb, " -p auto_restart=off");
VSB_printf(vsb, " -p syslog_cli_traffic=off");
VSB_printf(vsb, " -p sigsegv_handler=on");
+ VSB_printf(vsb, " -p thread_pool_min=10");
VSB_printf(vsb, " -a '%s'", "127.0.0.1:0");
VSB_printf(vsb, " -M '%s %s'", abuf, pbuf);
VSB_printf(vsb, " -P %s/varnishd.pid", v->workdir);
More information about the varnish-commit
mailing list