From e4b1808b86823bda50e7f17cac0b3cbabc6c91b8 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 11 Apr 2007 01:24:38 +0000 Subject: [PATCH] Since I changed the semantics of store_dirs_rebuilding yesterday (to match how it works in Squid-2 again), I forgot that storeRebuildComplete() probably wouldn't do any work as long as store_dirs_rebuilding was greater than zero. Now it needs to do its work when store_dirs_rebuilding == 1. --- src/store_rebuild.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store_rebuild.cc b/src/store_rebuild.cc index d073c6fcf9..85df970935 100644 --- a/src/store_rebuild.cc +++ b/src/store_rebuild.cc @@ -1,6 +1,6 @@ /* - * $Id: store_rebuild.cc,v 1.87 2007/04/10 00:45:10 wessels Exp $ + * $Id: store_rebuild.cc,v 1.88 2007/04/10 19:24:38 wessels Exp $ * * DEBUG: section 20 Store Rebuild Routines * AUTHOR: Duane Wessels @@ -149,7 +149,7 @@ storeRebuildComplete(struct _store_rebuild_data *dc) * the validation (storeCleanup()) thread. */ - if (StoreController::store_dirs_rebuilding) + if (StoreController::store_dirs_rebuilding > 1) return; dt = tvSubDsec(rebuild_start, current_time); -- 2.47.3