Skip to content

feat: add timeout to bootstrap#1158

Merged
0xERR0R merged 3 commits intomainfrom
bootrap-timeout
Sep 20, 2023
Merged

feat: add timeout to bootstrap#1158
0xERR0R merged 3 commits intomainfrom
bootrap-timeout

Conversation

@0xERR0R
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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!

@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