You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm basically trying to get my bot to play as many games as the rate limiting allows. All I've seen in the docs is:
All requests are rate limited using various strategies, to ensure the API remains responsive for everyone. Only make one request at a time. If you receive an HTTP response with a 429 status, please wait a full minute before resuming API usage.
So when I encounter a 429 for challenge creation I backoff for 2 mins, but then I still get 429 responses for hours afterwards when making a request at 2 min intervals. The docs indicate I'm backing off for a sufficient amount of time but clearly I'm not. What duration is being used to measure the request rate?
Worth noting I'm continuing to have the event stream held open in parallel while making challenges, would this be causing continuous 429 responses?
The text was updated successfully, but these errors were encountered:
Thanks, it would be good to put some more specifics about rate limits on the docs for the various endpoints, the max number of request and duration. Appreciate it might be a lot of effort though. Where are the limits defined in the repo?
Hi, I'm basically trying to get my bot to play as many games as the rate limiting allows. All I've seen in the docs is:
So when I encounter a 429 for challenge creation I backoff for 2 mins, but then I still get 429 responses for hours afterwards when making a request at 2 min intervals. The docs indicate I'm backing off for a sufficient amount of time but clearly I'm not. What duration is being used to measure the request rate?
Worth noting I'm continuing to have the event stream held open in parallel while making challenges, would this be causing continuous 429 responses?
The text was updated successfully, but these errors were encountered: