dns_cache: optimize timer wheel for DNS cache

This commit is contained in:
Nick Peng
2023-09-24 13:16:33 +08:00
parent bfacad33ae
commit 1dd01ff4bd

View File

@@ -27,7 +27,7 @@
#include "timer_wheel.h" #include "timer_wheel.h"
#define TVR_BITS 8 #define TVR_BITS 10
#define TVN_BITS 6 #define TVN_BITS 6
#define TVR_SIZE (1 << TVR_BITS) #define TVR_SIZE (1 << TVR_BITS)
#define TVN_SIZE (1 << TVN_BITS) #define TVN_SIZE (1 << TVN_BITS)