When retrying based on x-ratelimit-reset
, take local time and server time into account
#599
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
I've seen the plugin handle the primary rate limit correctly, wait until the provided
x-ratelimit-reset
time, and then immediately hit the rate limit again. My guess is that local time and server time are out-of-sync. It's something we had to take into account for the timeouts of installation access tokens as well in https://github.com/octokit/auth-app.js.The text was updated successfully, but these errors were encountered: