]> git.ipfire.org Git - thirdparty/squid.git/commit
Support -DFAILURE_MODE_TIME=n compiler flag
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 1 Aug 2012 07:01:58 +0000 (19:01 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 1 Aug 2012 07:01:58 +0000 (19:01 +1200)
commit77aacca5186b9fe57a4c07e41c89be990f25007d
tree3f18620fb64fe215772a5398478061febed8193e
parent3aa0901a140e2e726cf1ec173cc929a2bf317091
Support -DFAILURE_MODE_TIME=n compiler flag

This value determins at compile-time how long Squid spends in HIT-only
mode after the failure ratio goes over 1.0. see checkFailureRatio() in
src/client_side_request.cc for details on the ratio.

This flag is supported to remove the need for patching when alteration
is required.
src/client_side_request.cc