From: adrian <> Date: Sat, 6 May 2000 22:44:26 +0000 (+0000) Subject: brought over from modio - storeExpiredReferenceAge() isn't applicable X-Git-Tag: SQUID_3_0_PRE1~1987 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01453ab809a38fad89fcb682df6b317566be59c3;p=thirdparty%2Fsquid.git brought over from modio - storeExpiredReferenceAge() isn't applicable in the current storage layout. It will result in soon to be expired objects (LRU) entering the digest, but there isn't a hook in the current code to check this cleanly, so the code has been commented out. --- diff --git a/src/store_digest.cc b/src/store_digest.cc index eab7d0c60f..25871304de 100644 --- a/src/store_digest.cc +++ b/src/store_digest.cc @@ -1,5 +1,5 @@ /* - * $Id: store_digest.cc,v 1.38 2000/03/06 16:23:35 wessels Exp $ + * $Id: store_digest.cc,v 1.39 2000/05/06 16:44:26 adrian Exp $ * * DEBUG: section 71 Store Digest Manager * AUTHOR: Alex Rousskov @@ -230,9 +230,11 @@ storeDigestAddable(const StoreEntry * e) * idea: skip objects that are going to be purged before the next * update. */ +#if 0 /* This code isn't applicable anymore, we can't fix it atm either :( */ #if !HEAP_REPLACEMENT if ((squid_curtime + Config.digest.rebuild_period) - e->lastref > storeExpiredReferenceAge()) return 0; +#endif #endif return 1; }