]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
The reference_age (Config.referenceAge) option is not used anywhere
authorwessels <>
Wed, 28 Aug 2002 10:24:07 +0000 (10:24 +0000)
committerwessels <>
Wed, 28 Aug 2002 10:24:07 +0000 (10:24 +0000)
in the source code.

src/cf.data.pre
src/structs.h

index 83911c1435b4320468b96ae5cfc6fd38c2d5187c..df63c8a1bc33030da5b60e34349132ce7028e6f2 100644 (file)
@@ -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
index dc1be6edd1ae22bbd388f02e6e1fdad1491cc3d3..303506766f56b0759f3fe5c341eff26359050d9c 100644 (file)
@@ -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;