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

[Feature]: Rate limit settings #468

Open
loompact opened this issue Dec 4, 2023 · 0 comments
Open

[Feature]: Rate limit settings #468

loompact opened this issue Dec 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@loompact
Copy link

loompact commented Dec 4, 2023

Feature

Issue: when using 'sugar' it sends its requests/calls to the RPC endpoints in bursts, as quickly as possible. That let's it run into rate limit issues quite frequently, not only in the very limited Solana's own RPC but also in e.g. the lower end limits of paid RPC provider plans (like Quicknode Discover/Discover+). In turn this results in blockings or 429 errors, so you need to re-run the 'sugar' commands a couple of times until all requests got through, e.g. with the 'deploy' or 'airdrop' commands.

Ideal solution or implementation

Solution: to prevent 'sugar' to trigger the rate limits of the RPC endpoint it would be good to have a configurable rate-limit setting. If this would be available, commands would take longer, but would not end up being blocked or needed to re-run multiple times until the instruction succeeds fully.

Alternative solutions or implementations

No response

Other context

No response

@loompact loompact added the enhancement New feature or request label Dec 4, 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
Projects
None yet
Development

No branches or pull requests

1 participant