r3426 - trunk/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Nov 24 15:04:42 CET 2008


Author: tfheen
Date: 2008-11-24 15:04:42 +0100 (Mon, 24 Nov 2008)
New Revision: 3426

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
Log:
Fix typo (s/timeout/interval/) in default parameters for backend health

Thanks to Jonny @ globo for noticing.


Modified: trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend_poll.c	2008-11-24 13:03:41 UTC (rev 3425)
+++ trunk/varnish-cache/bin/varnishd/cache_backend_poll.c	2008-11-24 14:04:42 UTC (rev 3426)
@@ -261,7 +261,7 @@
 	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)



More information about the varnish-commit mailing list