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: backport rusoto timeout change to v2 #3872

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

daniel-savu
Copy link
Contributor

Backport of #3283

Applies the fix in
#2384 everywhere an HttpClient is constructed via rusoto.

It lowers the S3 timeout to 15s based on tips in this thread, to avoid Error during dispatch: connection closed before message completed errors. Note that we'll probably still run into these issues, but less frequently
(source).

Applies the fix in
#2384 everywhere
an `HttpClient` is constructed via rusoto.

It lowers the S3 timeout to 15s based on tips in [this
thread](hyperium/hyper#2136 (comment)),
to avoid `Error during dispatch: connection closed before message
completed` errors. Note that we'll probably still run into these issues,
but less frequently
([source](rusoto/rusoto#1766 (comment))).

<!--
Are there any minor or drive-by changes also included?
-->

<!--
- Fixes #[issue number here]
-->

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
Copy link

changeset-bot bot commented May 30, 2024

⚠️ No Changeset found

Latest commit: 11c2a9e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.70%. Comparing base (0810fa0) to head (b243823).

Current head b243823 differs from pull request most recent head 11c2a9e

Please upload reports for the commit 11c2a9e to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #3872   +/-   ##
=======================================
  Coverage   72.70%   72.70%           
=======================================
  Files          95       95           
  Lines        1480     1480           
  Branches      189      189           
=======================================
  Hits         1076     1076           
  Misses        395      395           
  Partials        9        9           
Components Coverage Δ
core 94.82% <ø> (ø)
hooks 61.53% <ø> (ø)
isms 72.01% <ø> (ø)
token ∅ <ø> (∅)
middlewares 63.79% <ø> (ø)

Copy link
Collaborator

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

seems like you went from 20s to 15s?

@daniel-savu daniel-savu changed the title fix: backport rusoto timeout increase to v2 fix: backport rusoto timeout change to v2 May 30, 2024
@daniel-savu daniel-savu requested a review from nambrot as a code owner May 30, 2024 16:13
@daniel-savu daniel-savu merged commit 3813233 into v2 Jun 4, 2024
20 of 27 checks passed
@daniel-savu daniel-savu deleted the dan/v2-rusoto-timeout branch June 4, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants