]> err.no Git - varnish/commitdiff
Fix typo (s/timeout/interval/) in default parameters for backend health
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Nov 2008 14:04:42 +0000 (14:04 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Nov 2008 14:04:42 +0000 (14:04 +0000)
Thanks to Jonny @ globo for noticing.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3426 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_backend_poll.c

index 6f46762567865d1f208c7b9276ed7a812321ea41..dc8423fad8a588275827d154dc1a3e5c8b9ad2fa 100644 (file)
@@ -261,7 +261,7 @@ vbp_wrk_poll_backend(void *priv)
        if (vt->probe.timeout == 0.0)
                vt->probe.timeout = 2.0;
        if (vt->probe.interval == 0.0)
-               vt->probe.timeout = 5.0;
+               vt->probe.interval = 5.0;
        if (vt->probe.window == 0)
                vt->probe.window = 8;
        if (vt->probe.threshold == 0)