-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(iroh-net)!: improve dns behaviour by staggering requests #2313
feat(iroh-net)!: improve dns behaviour by staggering requests #2313
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the code looks good, basically I'm mostly bikeshedding nothing I want to block things for as it's subjective anyway.
118c390
to
03d9690
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I think the trait method names are now nicely consistent. And their first lines of the doc comments descriptive.
Description
Improves dns behaviour by staggering concurrent queries. Other changes include:
ResolverExt
functions.ResolverExt
.stagger_call
with a minimal test.ResolverExt
functions.Breaking Changes
iroh_net::dns::node_info::lookup_by_domain
moved toiroh_net::ResolverExt::lookup_by_domain
Notes & open questions
Whether test are less prone to fail randomly is something I can't test locally (no windows) so I'm trusting ci here.
Change checklist