From: W.C.A. Wijngaards Date: Thu, 14 Aug 2025 09:25:40 +0000 (+0200) Subject: - Fix to increase responsiveness of dump_cache. X-Git-Tag: release-1.24.0rc1~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f790bd65ed30a62b895951ad7be972ee80dbb3b;p=thirdparty%2Funbound.git - Fix to increase responsiveness of dump_cache. --- diff --git a/daemon/cachedump.c b/daemon/cachedump.c index 7c0aa68a2..daa4e0ab1 100644 --- a/daemon/cachedump.c +++ b/daemon/cachedump.c @@ -107,7 +107,7 @@ dump_lruhash(struct lruhash* table, int (*func)(void*, void*), void* arg) int not_done = 1; hashvalue_type hash; size_t num = 0; /* number of entries processed. */ - size_t max = 1000; /* number of entries after which it unlocks. */ + size_t max = 2; /* number of entries after which it unlocks. */ while(not_done) { size_t i; /* hash bin. */ diff --git a/doc/Changelog b/doc/Changelog index 7000b1649..701379537 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +14 August 2025: Wouter + - Fix to increase responsiveness of dump_cache. + 13 August 2025: Wouter - unbound-control cache_lookup prints the cached rrsets and messages for those.