]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove reference to old 'cache_swap' option, and make this a warning
authorwessels <>
Sun, 19 Aug 2001 22:28:33 +0000 (22:28 +0000)
committerwessels <>
Sun, 19 Aug 2001 22:28:33 +0000 (22:28 +0000)
rather than a fatal error.

src/cache_cf.cc

index 4f2ba2bb0ac5bbef2a57282e3c57e879db8ba05e..a1961a025ad44ad91a9818cbbee5013f58ba5467 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.388 2001/08/16 00:16:15 hno Exp $
+ * $Id: cache_cf.cc,v 1.389 2001/08/19 16:28:33 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -294,7 +294,7 @@ configDoConfigure(void)
        /* people might want a zero-sized cache on purpose */
        (void) 0;
     else if (Config.Swap.maxSize < (Config.memMaxSize >> 10))
-       fatal("cache_swap is lower than cache_mem");
+       debug(3, 0) ("WARNING cache_mem is larger than total disk cache space!\n");
     if (Config.Announce.period > 0) {
        Config.onoff.announce = 1;
     } else if (Config.Announce.period < 1) {