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

External Services: add timeouts #1297

Open
danielbeardsley opened this issue Jan 25, 2023 · 0 comments
Open

External Services: add timeouts #1297

danielbeardsley opened this issue Jan 25, 2023 · 0 comments
Labels
0 feature Request for a new feature

Comments

@danielbeardsley
Copy link
Member

Problem

Vercel has an intrinsic 60s timeout on requests to our app. This is too long to wait for any user and when vercel times out our app, we don't get to see what it was in the middle of.

We actually sometimes have many time outs. This happened 27 times in one hour on 2023-01-23

Do This

Add reasonable timeouts to all of our external services such that we'll hit our timeouts (and get some context) before vercel is hit. For a low-impact first try just log and complain about the long duration, but don't change behavior.

External Services

  • Strapi
  • Shopify api
  • iFixit API
  • Algolia API
  • Redis API
  • Others?
@sterlinghirsh sterlinghirsh added the 0 feature Request for a new feature label Jan 25, 2023
@dhmacs dhmacs self-assigned this Oct 31, 2023
@dhmacs dhmacs removed their assignment Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 feature Request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants