subdomain-registrar icon indicating copy to clipboard operation
subdomain-registrar copied to clipboard

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

Open rafaelcr opened this issue 2 years ago • 0 comments

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.

rafaelcr avatar Nov 06 '23 20:11 rafaelcr