From 5e45c396e09d45edb2386bcda2a83b15e6f5b367 Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 14 Nov 2020 05:10:47 +0800 Subject: [PATCH] DNS cache size 256 -> 32 --- leaf/src/option/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf/src/option/unix.rs b/leaf/src/option/unix.rs index 6fe302b..01fdef8 100644 --- a/leaf/src/option/unix.rs +++ b/leaf/src/option/unix.rs @@ -5,4 +5,4 @@ pub static ENDPOINT_TCP_CONCURRENCY: usize = 1024; pub static DIRECT_TCP_CONCURRENCY: usize = 1024; /// DNS cache size in the built-in DNS client. -pub static DNS_CACHE_SIZE: usize = 256; +pub static DNS_CACHE_SIZE: usize = 32;