Bump version v9.6.3-rc1

This commit is contained in:
Σrebe - Romain GERARD 2024-06-09 14:58:32 +02:00
parent b2df9e2d29
commit 8e4db44744
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4

View file

@ -42,7 +42,8 @@ impl DnsResolver {
// https://github.com/hickory-dns/hickory-dns/issues/1968 // https://github.com/hickory-dns/hickory-dns/issues/1968
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
{ {
opts.num_concurrent_reqs = 20; opts.cache_size = 1024;
opts.num_concurrent_reqs = cfg.name_servers().len();
} }
return Ok(Self::TrustDns(hickory_resolver::AsyncResolver::tokio(cfg, opts))); return Ok(Self::TrustDns(hickory_resolver::AsyncResolver::tokio(cfg, opts)));
}; };