Skip to content

Rate limiting for challenge creation is not clearly documented  #264

@th0masb

Description

@th0masb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions