]> git.ipfire.org Git - thirdparty/squid.git/commit
Support -DFAILURE_MODE_TIME=n compiler flag
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 2 Aug 2012 11:43:53 +0000 (05:43 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 2 Aug 2012 11:43:53 +0000 (05:43 -0600)
commite697f3bfec830109955499f6ae1df298e9112b4c
treeda47b9038ab4df90284447d74faeb44f94309958
parentc8888df8e7a8dbe6dad800acc55d38ed0e7a3f11
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