From: wessels <> Date: Wed, 9 Sep 1998 22:47:08 +0000 (+0000) Subject: make high-http-median-svc-time no-cache WIP X-Git-Tag: SQUID_3_0_PRE1~2760 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f65b59b5c4d8088da108bded2d57719d2591776d;p=thirdparty%2Fsquid.git make high-http-median-svc-time no-cache WIP --- diff --git a/src/store.cc b/src/store.cc index c6430cf9d9..0720f88ebd 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.453 1998/09/06 16:20:04 wessels Exp $ + * $Id: store.cc,v 1.454 1998/09/09 16:47:08 wessels Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -492,10 +492,12 @@ storeCheckCachable(StoreEntry * e) } else if (EBIT_TEST(e->flag, KEY_PRIVATE)) { debug(20, 3) ("storeCheckCachable: NO: private key\n"); store_check_cachable_hist.no.private_key++; +#if WIP } else if (statMedianSvc(5, MEDIAN_HTTP) > 2000.0) { debug(20, 2) ("storeCheckCachable: NO: median HTTP svc time = %d\n", statMedianSvc(5, MEDIAN_HTTP)); store_check_cachable_hist.no.http_median_too_high++; +#endif } else if (storeExpiredReferenceAge() < 300) { debug(20, 2) ("storeCheckCachable: NO: LRU Age = %d\n", storeExpiredReferenceAge());