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

Retries on timeout #546

Open
victordidenko opened this issue Nov 20, 2023 · 1 comment
Open

Retries on timeout #546

victordidenko opened this issue Nov 20, 2023 · 1 comment

Comments

@victordidenko
Copy link

Section https://github.com/sindresorhus/ky#retry states that

Retries are not triggered following a timeout.

What if I want a retry on timeout? How is it possible to achieve?

@sindresorhus
Copy link
Owner

You could check for TimeoutError and do another request. No other way currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants