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

Increase batch request limit #2437

Open
Tracked by #2380
georgi-l95 opened this issue Apr 27, 2024 · 2 comments
Open
Tracked by #2380

Increase batch request limit #2437

georgi-l95 opened this issue Apr 27, 2024 · 2 comments

Comments

@georgi-l95
Copy link
Collaborator

georgi-l95 commented Apr 27, 2024

Currently by default ethers is using batch requests to receive information about block number and chain id and more. We should either increase our limit or check each request and limit them according to certain tears.

@Nana-EC
Copy link
Collaborator

Nana-EC commented May 3, 2024

What limit should this be increased to based on observance?

@georgi-l95
Copy link
Collaborator Author

By default ethers(for example) sends batch requests for queries like eth_chainId, eth_blockNumber and more. This can be turned off, when new provider is initialized, however most users won't.
So we either want to increase the limit or make it in tiers based on each request in the batch. Otherwise, even one users with avarage usage will hit the limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Sprint Backlog
Development

No branches or pull requests

2 participants