From cfce6fcbd70f56d0cffb70a4b8bbaeb8b924fc06 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 15 Sep 2006 10:30:27 +0000 Subject: [PATCH] Disable session_grace for now. It is not clear if this is a benefit or not. There seems to be a significant (100msec ?) inter-request gap and seeting the grace period that long means tying up worker threads doing basically nothing. Setting a short timeout (10msec) results in an extra system call which practically never does anything good. Unless benefit is shown, this stuff should be removed again. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@993 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/mgt_param.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index bb02a19f..715f2fe4 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -321,7 +321,8 @@ static struct parspec parspec[] = { { "session_grace", tweak_session_grace, "How long a workerthread waits for a new request to arrive " "before sending the session to the herder.\n" - "Default is 10 msec.", "10" }, + "Units are milliseconds, zero disables.\n" + "Default is disabled.", "0" }, { NULL, NULL, NULL } }; -- 2.39.5