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

fix: retry when PUT request fails #1601

Merged
merged 2 commits into from
Dec 5, 2024
Merged

fix: retry when PUT request fails #1601

merged 2 commits into from
Dec 5, 2024

Conversation

alanshaw
Copy link
Member

@alanshaw alanshaw commented Dec 5, 2024

FML, we have a useless retry function that does not retry the PUT request when fetch response is non-200.

Not any more.

Copy link
Member

@fforbeck fforbeck left a comment

Choose a reason for hiding this comment

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

Great catch!!

@alanshaw alanshaw merged commit be2f05f into main Dec 5, 2024
3 checks passed
@alanshaw alanshaw deleted the fix/retry-put branch December 5, 2024 17:24
alanshaw pushed a commit that referenced this pull request Dec 5, 2024
🤖 I have created a release *beep* *boop*
---


##
[17.1.2](upload-client-v17.1.1...upload-client-v17.1.2)
(2024-12-05)


### Fixes

* retry when PUT request fails
([#1601](#1601))
([be2f05f](be2f05f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alanshaw added a commit to storacha/upload-service that referenced this pull request Dec 6, 2024
FML, we have a useless retry function that does not retry the PUT
request when fetch response is non-200.

Not any more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants