]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct peer connect-fail-limit default of 10
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Sep 2009 01:44:19 +0000 (13:44 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Sep 2009 01:44:19 +0000 (13:44 +1200)
src/cache_cf.cc

index f17dbba68b2a5b0ddd6ca1664305361b03e9a8f9..2689d2f0a21fd3036919f0a439eca85eda992229 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;