From: wessels <> Date: Tue, 1 Feb 2000 12:45:33 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~2066 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=309ccaae0e0e65010fb38edd5bdb2b53f5777e84;p=thirdparty%2Fsquid.git DW: - Changed validation process to scan 500 (instead of 50) objects per call. This should be fine because validation does not much more than set the ENTRY_VALIDATED flag for each object. --- diff --git a/src/store_rebuild.cc b/src/store_rebuild.cc index ebe6e26b57..ce3622f317 100644 --- a/src/store_rebuild.cc +++ b/src/store_rebuild.cc @@ -1,6 +1,6 @@ /* - * $Id: store_rebuild.cc,v 1.67 1999/12/30 17:36:58 wessels Exp $ + * $Id: store_rebuild.cc,v 1.68 2000/02/01 05:45:33 wessels Exp $ * * DEBUG: section 20 Store Rebuild Routines * AUTHOR: Duane Wessels @@ -83,7 +83,7 @@ storeCleanup(void *datanotused) hash_link *link_ptr = NULL; hash_link *link_next = NULL; validnum_start = validnum; - while (validnum - validnum_start < 50) { + while (validnum - validnum_start < 500) { if (++bucketnum >= store_hash_buckets) { debug(20, 1) (" Completed Validation Procedure\n"); debug(20, 1) (" Validated %d Entries\n", validnum);