You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're calling out to a bunch of different services. When these services error, we can wrap code in try...catch and handle service outages. However, when these services take a very long time to respond, we might exceed the timeout for serverless functions, and our users are left with a very unpleasant Vercel error page.
We could prevent this by racing requests to other services with a promise that resolves before the serverless timeout is reached and then treat these timeouts as "regular" application errors.
The text was updated successfully, but these errors were encountered:
We're calling out to a bunch of different services. When these services error, we can wrap code in
try...catch
and handle service outages. However, when these services take a very long time to respond, we might exceed the timeout for serverless functions, and our users are left with a very unpleasant Vercel error page.We could prevent this by racing requests to other services with a promise that resolves before the serverless timeout is reached and then treat these timeouts as "regular" application errors.
The text was updated successfully, but these errors were encountered: