Skip to content

Possible RateLimitExceededException #12

@MaximilianKarl

Description

@MaximilianKarl

sleeping_range = range(int(seconds_until_reset / sleep_step_width))

i would suggest to add +1 in this line in order to prevent a RateLimitExceededException.
My remaining time was 0 and I did a new API call but the actual reset was some milliseconds later.

my suggstion:

sleeping_range = range(int(seconds_until_reset / sleep_step_width)+1)

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