From 58da7da243372e6e9630baffdec6c93c310dcef3 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 28 Aug 2002 10:24:07 +0000 Subject: [PATCH] The reference_age (Config.referenceAge) option is not used anywhere in the source code. --- src/cf.data.pre | 29 +---------------------------- src/structs.h | 3 +-- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/src/cf.data.pre b/src/cf.data.pre index 83911c1435..df63c8a1bc 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -1,6 +1,6 @@ # -# $Id: cf.data.pre,v 1.277 2002/08/24 01:54:34 hno Exp $ +# $Id: cf.data.pre,v 1.278 2002/08/28 04:24:07 wessels Exp $ # # # SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -1681,33 +1681,6 @@ refresh_pattern . 0 20% 4320 NOCOMMENT_END DOC_END -NAME: reference_age -TYPE: time_t -LOC: Config.referenceAge -DEFAULT: 1 year -DOC_START - As a part of normal operation, Squid performs Least Recently - Used removal of cached objects. The LRU age for removal is - computed dynamically, based on the amount of disk space in - use. The dynamic value can be seen in the Cache Manager 'info' - output. - - The 'reference_age' parameter defines the maximum LRU age. For - example, setting reference_age to '1 week' will cause objects - to be removed if they have not been accessed for a week or - more. The default value is one year. - - Specify a number here, followed by units of time. For example: - 1 week - 3.5 days - 4 months - 2.2 hours - - NOTE: this parameter is not used when using the enhanced - replacement policies, GDSH or LFUDA. -DOC_END - - NAME: quick_abort_min COMMENT: (KB) TYPE: kb_size_t diff --git a/src/structs.h b/src/structs.h index dc1be6edd1..303506766f 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.424 2002/08/24 01:54:34 hno Exp $ + * $Id: structs.h,v 1.425 2002/08/28 04:24:07 wessels Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -388,7 +388,6 @@ struct _SquidConfig { size_t readAheadGap; RemovalPolicySettings *replPolicy; RemovalPolicySettings *memPolicy; - time_t referenceAge; time_t negativeTtl; time_t negativeDnsTtl; time_t positiveDnsTtl; -- 2.47.2