]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Change the ADB_ENTRY_WINDOW to 60 seconds
authorOndřej Surý <ondrej@isc.org>
Wed, 3 Apr 2024 10:07:41 +0000 (12:07 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 22 Apr 2024 08:36:36 +0000 (10:36 +0200)
The previous value of 30 minutes used to cache the ADB names and entries
was quite long.  Change the value to 60 seconds for faster recovery
after cached intermittent failure of the remote nameservers.

lib/dns/adb.c

index 2d115d9ba427fc53e6914ffd559d29df599665db..4327aefb1b0b21bde3a7a8befe50d4e2ee65954a 100644 (file)
@@ -65,7 +65,7 @@
  */
 #define ADB_CACHE_MINIMUM 10   /*%< seconds */
 #define ADB_CACHE_MAXIMUM 86400 /*%< seconds (86400 = 24 hours) */
-#define ADB_ENTRY_WINDOW  1800 /*%< seconds */
+#define ADB_ENTRY_WINDOW  60   /*%< seconds */
 
 #ifndef ADB_HASH_BITS
 #define ADB_HASH_BITS 12