/*
- * $Id: cache_cf.cc,v 1.227 1997/10/26 06:26:23 wessels Exp $
+ * $Id: cache_cf.cc,v 1.228 1997/10/28 21:53:35 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
if (Config.retry.maxtries > 10)
fatal("maximum_single_addr_tries cannot be larger than 10");
if (Config.retry.maxtries < 1) {
- Config.retry.maxtries = 1;
debug(3, 0) ("WARNING: resetting 'maximum_single_addr_tries to 1\n");
+ Config.retry.maxtries = 1;
+ }
+ if (Config.referenceAge < 300) {
+ debug(3, 0) ("WARNING: resetting 'reference_age' to 1 week\n");
+ Config.referenceAge = 86400 * 7;
}
}