]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make the TTL-based cleaning more aggressive
authorOndřej Surý <ondrej@isc.org>
Tue, 20 Feb 2024 07:50:58 +0000 (08:50 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 29 Feb 2024 15:14:05 +0000 (16:14 +0100)
commitd7e3c782fd9141ef972656cc4acfe007758addc6
treef7b04899046068694e44068897e6c1562e638563
parent10824954397955c90b671fea7b9bcf9d5b119a35
Make the TTL-based cleaning more aggressive

It was discovered that the TTL-based cleaning could build up
a significant backlog of the rdataset headers during the periods where
the top of the TTL heap isn't expired yet.  Make the TTL-based cleaning
more aggressive by cleaning more headers from the heap when we are
adding new header into the RBTDB.

(cherry picked from commit d8220ca4ca45e0aadf1ad938ed6264c8f95c7e55)
(cherry picked from commit 496fe6bc607057d8be74277ed4d6e8e4b1ef5b09)
lib/dns/rbtdb.c