Skip to content

Rate limit issues #65

@seanwendt

Description

@seanwendt

5 second timeout runs into issues, see an example header response on del call:

x-ratelimit-remaining: 1.0 // how many requests I can make before reset
x-ratelimit-reset: 37 // how many seconds until reset
x-ratelimit-used: 99 // how many requests I've made; another call will be made in 5 seconds, which will succeed, and another in 5 more which will fail.

100 requests per 10 minute period is the rate limit I am getting consistently, and with a deletion every 5 seconds (plus additional calls to next comment page) it's not enough time, eventually running into an error and getting the "Error deleting comment, would you like to retry?" popup, which stops all progress until 1) user clicks the button to retry && 2) rate limit has been reset

Recommend making this rate limit configurable for advanced users (lazy fix) or reading the response headers and acting accordingly. Happy to make a PR with your guidance if public contributions are welcomed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions