From 335b3a46ef79502e92faae69f6b93ccf177ff253 Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 24 Nov 2008 14:04:42 +0000 Subject: [PATCH] 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/trunk@3426 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_backend_poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_backend_poll.c b/varnish-cache/bin/varnishd/cache_backend_poll.c index 6f467625..dc8423fa 100644 --- a/varnish-cache/bin/varnishd/cache_backend_poll.c +++ b/varnish-cache/bin/varnishd/cache_backend_poll.c @@ -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) -- 2.39.5