]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Tue, 1 Feb 2000 12:45:33 +0000 (12:45 +0000)
committerwessels <>
Tue, 1 Feb 2000 12:45:33 +0000 (12:45 +0000)
 - 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.

src/store_rebuild.cc

index ebe6e26b57359e9e0535ac94e304b929801ff02d..ce3622f31788ea9a23c2398d9b3b6ed0f69ede56 100644 (file)
@@ -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);