From: phk Date: Fri, 15 Sep 2006 10:30:27 +0000 (+0000) Subject: Disable session_grace for now. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfce6fcbd70f56d0cffb70a4b8bbaeb8b924fc06;p=varnish 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 --- 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 } };