]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct peer connect-fail-limit default of 10
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 16 Sep 2009 08:42:33 +0000 (20:42 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 16 Sep 2009 08:42:33 +0000 (20:42 +1200)
src/cache_cf.cc

index 5b4999aba30a114c50a13a1d86f4cf95b4b16260..3ef655023cfa52037e028b17dbdc4c0492dbd4d6 100644 (file)
@@ -1895,7 +1895,7 @@ parse_peer(peer ** head)
         p->weight = 1;
 
     if (p->connect_fail_limit < 1)
-        p->connect_fail_limit = 1;
+        p->connect_fail_limit = 10;
 
     p->icp.version = ICP_VERSION_CURRENT;