We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Proposed implementation:
X-RateLimit-Remaining
Retry-After
I also feel like I've seen HTTP 401 during normal (non-abuse) rate limiting. Investigate more and handle if needed.
The text was updated successfully, but these errors were encountered:
suggestion to resolve #4
Sorry, something went wrong.
const response = await context.github.issues.create({}) console.log(response.meta) // output: { "x-ratelimit-limit": 5000, "x-ratelimit-remaining": 4999, "x-ratelimit-reset": 1544635447, }
there may be additional headers like x-retry-after in there as well.
No branches or pull requests
Proposed implementation:
X-RateLimit-Remaining
andRetry-After
headers.X-RateLimit-Remaining
< number of HTTP calls required, stop and output console message.Retry-After
wait number of seconds specified before sending additional requests.I also feel like I've seen HTTP 401 during normal (non-abuse) rate limiting. Investigate more and handle if needed.
The text was updated successfully, but these errors were encountered: