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

add two retry strategies to allow requests to timeout gracefully #8080

Merged
merged 1 commit into from May 21, 2024

Conversation

arlyon
Copy link
Contributor

@arlyon arlyon commented May 3, 2024

Description

Certain APIs should time out in different ways. For the cache, we want to retry connection attempts but not retry upload timeouts as a retry is unlikely to change your connection speed.

Testing Instructions

New unit tests.

Closes TURBO-2976

Copy link

vercel bot commented May 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 11:02am
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 11:02am
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-native-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 11:02am

Copy link
Contributor

github-actions bot commented May 3, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@arlyon arlyon marked this pull request as ready for review May 3, 2024 14:48
@arlyon arlyon requested review from a team as code owners May 3, 2024 14:48
@arlyon arlyon requested review from Zertsov and NicholasLYang and removed request for a team May 3, 2024 14:48
Copy link
Contributor

github-actions bot commented May 3, 2024

🟢 CI successful 🟢

Thanks

@arlyon arlyon force-pushed the arlyon/cache-retry-strategy branch from f0f9ea3 to 6130f00 Compare May 21, 2024 10:23
@arlyon arlyon force-pushed the arlyon/cache-retry-strategy branch from 6130f00 to 2f5f461 Compare May 21, 2024 11:00
@arlyon arlyon merged commit d52a6d2 into main May 21, 2024
55 checks passed
@arlyon arlyon deleted the arlyon/cache-retry-strategy branch May 21, 2024 11:57
tknickman pushed a commit that referenced this pull request May 21, 2024
Certain APIs should time out in different ways. For the cache, we want
to retry connection attempts but not retry upload timeouts as a retry is
unlikely to change your connection speed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants