Closed
Description
I decided to speed up my algorithm by sending multiple requests at the same time.
It works fine until it doesn't because of the rate limits
It would be nice if rate limits could be taken into account when sending lots of asynchronous requests.
Currently I am encountering secondary rate limits.
The returned response has status 403 and has a 'retry-after' header, maybe it can be used to temporarily stop sending async requests? and continue after the time has passed?
There is also the primary rate limit. Could the headers mentioned be used to coordinate sending the async requests?