diff --git a/src/dns_cache.rs b/src/dns_cache.rs index dc2de025..9c8bd740 100644 --- a/src/dns_cache.rs +++ b/src/dns_cache.rs @@ -43,7 +43,7 @@ impl DnsCache { pub fn new(max_size: Option) -> Self { let cache = DnsCache { cache: LruCache::new(max_size.unwrap_or_else(|| NonZeroUsize::new(1667).unwrap())), - max_size: max_size.unwrap_or_else(|| NonZeroUsize::new(100).unwrap()), + max_size: max_size.unwrap_or_else(|| NonZeroUsize::new(1667).unwrap()), }; cache }