]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Tied LRU_COOKIES_SIZE to LRU_RTT_SIZE.
authorKarel Slany <karel.slany@nic.cz>
Thu, 14 Jul 2016 09:40:03 +0000 (11:40 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 11 Aug 2016 12:06:45 +0000 (14:06 +0200)
daemon/engine.h

index 16d3e02d0dd9b1b5045a3fba65cb3c8f3ac09396..01809380d71d33d80dfcbccf252d790bd14cc3a7 100644 (file)
@@ -24,7 +24,7 @@
 #define LRU_REP_SIZE (LRU_RTT_SIZE / 4) /**< NS reputation cache size */
 #endif
 #ifndef LRU_COOKIES_SIZE
-#define LRU_COOKIES_SIZE 65536 /**< DNS cookies cache size. */
+#define LRU_COOKIES_SIZE LRU_RTT_SIZE /**< DNS cookies cache size. */
 #endif
 #ifndef MP_FREELIST_SIZE
 #define MP_FREELIST_SIZE 64 /**< Maximum length of the worker mempool freelist */