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

Request is not canceled in retry middleware #124

Open
aleksandrlat opened this issue Dec 28, 2020 · 1 comment
Open

Request is not canceled in retry middleware #124

aleksandrlat opened this issue Dec 28, 2020 · 1 comment

Comments

@aleksandrlat
Copy link

aleksandrlat commented Dec 28, 2020

Retry middleware implements retry based on timeout.
But when timeout happens prev request can still be in fly and consume resources. I.e. prev request is not stopped/canceled.
Browsers limit number of concurrent requests. And default timeout for fetch varies in different browsers and can be 2-3 minutes.

Since we are not going to wait for prev request to be finished should we cancel/stop it?

@gtkatakura
Copy link

Same problem here ;/

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