From: wessels <> Date: Fri, 6 Oct 2000 06:58:39 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1825 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=7fb4e2d1a80cc861a64bcd5475cd90f8fa5398d3;p=thirdparty%2Fsquid.git DW: - This warning triggers too easily when checking response time at 5 min interval. Lets try it at 20. --- diff --git a/src/stat.cc b/src/stat.cc index ffa81103f4..2dc6ac379f 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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); }