mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Remove cleaning-interval
remnants.
Since 2008, the cleaning-interval timer has been documented as "effectively obsolete" and disabled in the default configuration with a comment saying "now meaningless". This change deletes all the code that implements the cleaning-interval timer, except for the config parser in whcih it is now explicitly marked as obsolete. I have verified (using the deletelru and deletettl cache stats) that named still cleans the cache after this change.
This commit is contained in:
@@ -864,7 +864,6 @@ check_options(const cfg_obj_t *options, isc_log_t *logctx, isc_mem_t *mctx,
|
||||
* (scale * value) <= UINT32_MAX
|
||||
*/
|
||||
static intervaltable intervals[] = {
|
||||
{ "cleaning-interval", 60, 28 * 24 * 60 }, /* 28 days */
|
||||
{ "heartbeat-interval", 60, 28 * 24 * 60 }, /* 28 days */
|
||||
{ "interface-interval", 60, 28 * 24 * 60 }, /* 28 days */
|
||||
{ "max-transfer-idle-in", 60, 28 * 24 * 60 }, /* 28 days */
|
||||
|
Reference in New Issue
Block a user