]> 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:13:18 +0000 (16:13 +0100)
commit3129c80741a77ac6a8a0f90fa613a52f3ee230d1
tree5347c4a07cf016f8d9ec462937d9a9e1e56cd313
parent1c3dd0d0ff4f869faff9e03beb19703ff99ca278
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 b4d9f1cbab554da071ffb02b52b07e44d09afa6c)
lib/dns/rbtdb.c