Skip to content

Commit

Permalink
Bump version v9.6.3-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Jun 10, 2024
1 parent b2df9e2 commit 8e4db44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ impl DnsResolver {
// https://github.com/hickory-dns/hickory-dns/issues/1968
#[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)));
};
Expand Down

0 comments on commit 8e4db44

Please sign in to comment.