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
Description fastly-native-promises uses https://github.com/adobe/helix-fetch as http client and sets a default timeout of 15s. If a requests takes longer than 15s helix-fetch rejects with an AbortError. This error is not handled gracefully but treated as a generic error.
Expected behavior
If a request times out it should be retried or reported as a specific (timeout) error which would allow a client to act accordingly.
Description
fastly-native-promises
uses https://github.com/adobe/helix-fetch as http client and sets a default timeout of 15s. If a requests takes longer than 15shelix-fetch
rejects with anAbortError
. This error is not handled gracefully but treated as a generic error.Expected behavior
If a request times out it should be retried or reported as a specific (timeout) error which would allow a client to act accordingly.
Additional context
https://github.com/adobe/helix-fetch#specify-a-timeout-for-a-fetch-operation
The text was updated successfully, but these errors were encountered: