Skip to content

[v11] Ensure that DNS errors in desktop discovery fail fast#31034

Merged
zmb3 merged 1 commit intobranch/v11from
bot/backport-30979-branch/v11
Aug 25, 2023
Merged

[v11] Ensure that DNS errors in desktop discovery fail fast#31034
zmb3 merged 1 commit intobranch/v11from
bot/backport-30979-branch/v11

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 25, 2023

Backport #30979 to branch/v11

In #30277 we made the discovery process make two DNS queries
in parallel. There was an error in this logic - since we don't
write to the channel on error, if both queries fail we end up
waiting a full 5 seconds even if the failures occur much quicker
than that.
@zmb3 zmb3 added this pull request to the merge queue Aug 25, 2023
Merged via the queue into branch/v11 with commit 94b7549 Aug 25, 2023
@zmb3 zmb3 deleted the bot/backport-30979-branch/v11 branch August 25, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants