Skip to content

[v13] Ensure that DNS errors in desktop discovery fail fast#31032

Merged
r0mant merged 1 commit intobranch/v13from
bot/backport-30979-branch/v13
Aug 25, 2023
Merged

[v13] Ensure that DNS errors in desktop discovery fail fast#31032
r0mant merged 1 commit intobranch/v13from
bot/backport-30979-branch/v13

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 25, 2023

Backport #30979 to branch/v13

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.
@r0mant r0mant added this pull request to the merge queue Aug 25, 2023
Merged via the queue into branch/v13 with commit 5f4a425 Aug 25, 2023
@r0mant r0mant deleted the bot/backport-30979-branch/v13 branch August 25, 2023 17:46
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
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