]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to increase responsiveness of dump_cache.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 14 Aug 2025 09:25:40 +0000 (11:25 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 14 Aug 2025 09:25:40 +0000 (11:25 +0200)
daemon/cachedump.c
doc/Changelog

index 7c0aa68a2a9d129551119691a587ded57dc858ee..daa4e0ab137e2693d504d6175ae1511f87e06ca8 100644 (file)
@@ -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. */
index 7000b1649330bc95a471de7a78a44e0020d3a9e1..7013795376e847289e5fc4fd305879fe6a0f5d92 100644 (file)
@@ -1,3 +1,6 @@
+14 August 2025: Wouter
+       - Fix to increase responsiveness of dump_cache.
+
 13 August 2025: Wouter
        - unbound-control cache_lookup <domains> prints the cached rrsets
          and messages for those.