]> 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:09:36 +0000 (16:09 +0100)
commit496fe6bc607057d8be74277ed4d6e8e4b1ef5b09
tree876b2a6e14013d4dfba684bfde98abb67f7d86b8
parentabe080d16eac4f5dcca62cb08bd9ca2f82bdaa2b
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)
lib/dns/rbtdb.c