From: wessels <> Date: Sat, 24 Aug 1996 03:15:45 +0000 (+0000) Subject: remove restrictions on hot_vm_factor X-Git-Tag: SQUID_3_0_PRE1~5935 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3ea7b83906486357ac6e412aeb058a58dfb079c;p=thirdparty%2Fsquid.git remove restrictions on hot_vm_factor --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 79e56fa0df..e1a8dfb49f 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,5 +1,5 @@ /* - * $Id: cache_cf.cc,v 1.69 1996/08/20 15:43:41 wessels Exp $ + * $Id: cache_cf.cc,v 1.70 1996/08/23 21:15:45 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -1442,15 +1442,4 @@ static void configDoConfigure() getMyHostname(), Config.Port.http); if (Config.errHtmlText == NULL) Config.errHtmlText = xstrdup(""); - -#if !ALLOW_HOT_CACHE - if (!httpd_accel_mode || Config.Accel.withProxy) { - /* Not running strict httpd_accel--force hot_vm_factor to be 0 */ - if (Config.hotVmFactor != 0.0) { - printf("WARNING: Non-zero hot_vm_factor not allowed unless running only\n"); - printf(" in httpd_accel mode. Setting hot_vm_factor to 0.\n"); - Config.hotVmFactor = 0.0; - } - } -#endif /* !ALLOW_HOT_CACHE */ }