Skip to content
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: add timeout to bootstrap #1158

Merged
merged 3 commits into from
Sep 20, 2023
Merged

feat: add timeout to bootstrap #1158

merged 3 commits into from
Sep 20, 2023

Conversation

0xERR0R
Copy link
Owner

@0xERR0R 0xERR0R commented Sep 19, 2023

Bootstrap uses default HttpTransport, which has (IMHO) no timeout defined. I think, it is a good idea to set a timeout.

I'm not so familiar with bootstrap logic, so pleas check it, maybe it is not correct?

@0xERR0R 0xERR0R added this to the v0.23 milestone Sep 19, 2023
@0xERR0R 0xERR0R added the 🔨 enhancement New feature or request label Sep 19, 2023
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Patch coverage is 86.36% of modified lines.

Files Changed Coverage
resolver/bootstrap.go 86.36%

📢 Thoughts on this report? Let us know!.

Copy link
Collaborator

@ThinkChaos ThinkChaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea, thanks for the implementation!

resolver/bootstrap.go Outdated Show resolved Hide resolved
resolver/bootstrap.go Outdated Show resolved Hide resolved
resolver/bootstrap.go Outdated Show resolved Hide resolved
resolver/bootstrap.go Outdated Show resolved Hide resolved
@0xERR0R 0xERR0R enabled auto-merge (squash) September 20, 2023 20:29
@0xERR0R 0xERR0R requested a review from ThinkChaos September 20, 2023 20:34
@0xERR0R 0xERR0R merged commit 6f60bea into main Sep 20, 2023
@delete-merged-branch delete-merged-branch bot deleted the bootrap-timeout branch September 20, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants