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

handle rate limits (429 status codes) when calling the Stacks Blockchain API #100

Open
rafaelcr opened this issue Nov 6, 2023 · 0 comments

Comments

@rafaelcr
Copy link

rafaelcr commented Nov 6, 2023

The registrar needs to update the transaction status for a large number of transactions during operation. However, it currently issues all of these calls to the Stacks Blockchain API in a foreach loop which quickly results in 429 status code responses (rate limits).

The registrar should stop sending requests to the API when a 429 is received and resume them later.

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