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 controlling concurrent requests #48

Open
2 tasks
bergos opened this issue Dec 22, 2022 · 0 comments
Open
2 tasks

Allow controlling concurrent requests #48

bergos opened this issue Dec 22, 2022 · 0 comments
Assignees
Milestone

Comments

@bergos
Copy link
Member

bergos commented Dec 22, 2022

It could be useful to control the maximum concurrent requests to avoid overloading an endpoint. A wrapper for fetch should be used that blocks the async code call until a new connection is available. It should be possible for multiple clients to use the same fetch instance to share the request limit.

  • A fetch wrapper to control concurrent requests is added
  • The requests and requests limits are shared over multiple client instances
@bergos bergos added this to the Next milestone Dec 22, 2022
@bergos bergos self-assigned this Dec 22, 2022
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

1 participant