]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix three shared cache issues: 9226/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 12 Jun 2020 10:24:26 +0000 (12:24 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 15 Jun 2020 10:13:56 +0000 (12:13 +0200)
commiteb7fae646a6080fe1e1a913b65f5c01d619d373f
tree36640f28f3c5e26c8e3a5f4e749fc5266407f5dd
parentd7cacb9f3705cf7c6ab7804f1dc701aa2d4b19a6
Fix three shared cache issues:

- Only prime share cache once on startup

- Cache pruning could go into an infinite loop if not enough expired
entries could be pruned.

- Handler thread isn't run very often, but now the record cache
pruning is done by it, so increase frequency of the housekeeping
call for the handler thread.
pdns/cachecleaner.hh
pdns/pdns_recursor.cc