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

Node/http: stop got from doing its own retries #1122

Merged
merged 1 commit into from Feb 6, 2023
Merged

Conversation

SimonWoolf
Copy link
Member

Got has an actually quite nice and configurable retry API.

But so do we, and having both stacking is definitely undesirable. Got's defaults aren't great (retrying 429s?); that's fixable, but we in any case prefer ours because we want to have retries go to fallback endpoints / other datacenters, which got can't do. So this disables got retries.

(Might be worth scanning through got docs to see if it's doing anything else overly-helpfully which we want to disable in favour of our own existing mechanisms)

@github-actions github-actions bot temporarily deployed to staging/pull/1122/bundle-report February 2, 2023 19:11 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1122/typedoc February 2, 2023 19:11 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1122/bundle-report February 2, 2023 19:16 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1122/typedoc February 2, 2023 19:16 Inactive
Copy link
Member

@owenpearson owenpearson left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@owenpearson owenpearson merged commit 52ddc0f into main Feb 6, 2023
@owenpearson owenpearson deleted the no-got-retries branch February 6, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants