Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to automated RATELIMIT handling #1780

Merged
merged 2 commits into from Aug 27, 2021
Merged

Improvements to automated RATELIMIT handling #1780

merged 2 commits into from Aug 27, 2021

Conversation

bboe
Copy link
Member

@bboe bboe commented Aug 27, 2021

  • Support RATELIMIT errors with millisecond resolution
  • Retry rate limit issues 2 times rather than 1

@bboe bboe force-pushed the sleep branch 4 times, most recently from bb0e00c to bb0e008 Compare August 27, 2021 17:26
Copy link
Member

@LilSpazJoekp LilSpazJoekp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Just a note about docs and a question about how exceptions are raised.

praw/reddit.py Show resolved Hide resolved
praw/reddit.py Show resolved Hide resolved
Also fix an undiscovered bug where the json parameter wasn't passed when retried.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants