From 8b63ec4c46c5193589c0f346932949ebc524fbf8 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 16 Sep 2009 20:18:07 +1200 Subject: [PATCH] Bug 2570: wccp2 "Here I Am" announcements not sent There is a bit of re-work in configuration needed before this can go into the storage config scope where it belongs. Temporary fix for 3.1. see bug report for details. --- src/cache_cf.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 15e9aee927..2040b2872a 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -430,6 +430,12 @@ configDoConfigure(void) memConfigure(); /* Sanity checks */ + if (Config.cacheSwap.swapDirs == NULL) { + /* Memory-only cache probably in effect. */ + /* turn off the cache rebuild delays... */ + StoreController::store_dirs_rebuilding = 0; + } + if (Debug::rotateNumber < 0) { Debug::rotateNumber = Config.Log.rotateNumber; } -- 2.47.3