]> git.ipfire.org Git - thirdparty/pdns.git/commit
Take shard size and number of remaining shards into account when cleaning, so that...
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 3 Jan 2023 10:36:54 +0000 (11:36 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 4 Jan 2023 10:13:18 +0000 (11:13 +0100)
commit5dfa679e323b3bd0e40a60fb4d4e8e6916d8e619
treeb3d19f8f40aae8524e39fb0a73c8aab02f546677
parent911738a77f716ed460c46767dfe17e348371fda8
Take shard size and number of remaining shards into account when cleaning, so that big shards get pruned more and if we are behind due to rounding etc we get more eager.
pdns/cachecleaner.hh
pdns/recursordist/negcache.cc
pdns/recursordist/recursor_cache.cc
pdns/recursordist/test-negcache_cc.cc