]> err.no Git - varnish/commitdiff
Disable session_grace for now.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Sep 2006 10:30:27 +0000 (10:30 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Sep 2006 10:30:27 +0000 (10:30 +0000)
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

index bb02a19feb45d1af9d27bf6f8a983229e9b97ba1..715f2fe447ad1b558dc4eef934934c24109c96ef 100644 (file)
@@ -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 }
 };