]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
make high-http-median-svc-time no-cache WIP
authorwessels <>
Wed, 9 Sep 1998 22:47:08 +0000 (22:47 +0000)
committerwessels <>
Wed, 9 Sep 1998 22:47:08 +0000 (22:47 +0000)
src/store.cc

index c6430cf9d956ef4a14de7bebe340d970be7ce3ab..0720f88ebddda6ec193e760b859b9d636228881e 100644 (file)
@@ -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());