Throttling on high-speed scans of ledger : how to know max authorized frequency?

Hi there,

When doing such high-speed scan of the ledger, we get an exception with the details below: it seems that we seen our grpc requests too fast.

Is there a mechanism to get info about the highest possible authorized frequency for those requests : can we get such info via http headers? Or other mechanisms?

All hints to behave properly are welcome!

ChainGrok

Exception info:

io.grpc.StatusRuntimeException: UNAVAILABLE: HTTP status code 429
invalid content-type: text/html
headers: Metadata(:status=429,cache-control=no-cache,content-type=text/html)
DATA-----------------------------

429 Too Many Requests

You have sent too many requests in a given amount of time.

DATA-----------------------------

1 Like