]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Fri, 6 Oct 2000 06:58:39 +0000 (06:58 +0000)
committerwessels <>
Fri, 6 Oct 2000 06:58:39 +0000 (06:58 +0000)
 - This warning triggers too easily when checking response time at 5 min
   interval.  Lets try it at 20.

src/stat.cc

index ffa81103f4ce652ab1329513864e175b7448b67c..2dc6ac379f1eded4f7ca61655ed4f2383c7561b3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: stat.cc,v 1.337 2000/10/05 23:01:40 wessels Exp $
+ * $Id: stat.cc,v 1.338 2000/10/06 00:58:39 wessels Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -915,7 +915,7 @@ statAvgTick(void *notused)
        NCountHourHist++;
     }
     if (Config.warnings.high_rptm > 0) {
-       int i = (int) statMedianSvc(5, MEDIAN_HTTP);
+       int i = (int) statMedianSvc(20, MEDIAN_HTTP);
        if (Config.warnings.high_rptm < i)
            debug(18, 0) ("WARNING: Median response time is %d milliseconds\n", i);
     }