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

Allow to specify timeout for single request in additional for total timeout including retries #497

Open
mahnunchik opened this issue Mar 17, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mahnunchik
Copy link

Hi,

I'm migrating from axios and axios-retry module.

I've faced with the issue that I can specify only total timeout including any retries.

It would be helpful to have ability to specify:

  • timeout for single request/?response (for example 10000ms)
  • total timeout (for example 30000ms)

axios-retry has shouldResetTimeout option which solves this task https://github.com/softonic/axios-retry/#options

@sindresorhus sindresorhus added enhancement New feature or request help wanted Extra attention is needed labels Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants