]> err.no Git - varnish/commitdiff
Merge r3426:
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jan 2009 14:12:20 +0000 (14:12 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jan 2009 14:12:20 +0000 (14:12 +0000)
Fix typo (s/timeout/interval/) in default parameters for backend health

Thanks to Jonny @ globo for noticing.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3559 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_backend_poll.c

index 6afce413019496516ce918713cc9cf45d881e8ca..659ba2bdfa0a86b7029b15f0387c0d5fc4ab92ee 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)