Skip to content

[v12] Ensure that DNS errors in desktop discovery fail fast#31033

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

[v12] Ensure that DNS errors in desktop discovery fail fast#31033
zmb3 merged 1 commit intobranch/v12from
bot/backport-30979-branch/v12

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 25, 2023

Backport #30979 to branch/v12

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/v12 with commit 66813b2 Aug 25, 2023
@zmb3 zmb3 deleted the bot/backport-30979-branch/v12 branch August 25, 2023 20:50
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