-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
The GitHub API returns rate limit information in HTTP response headers for every request.
It might be useful if the GitHub client (optionally) inspected those values and proactively avoided hitting rate limits by blocking a subsequent request until it thinks it will have quota, then checking that it does indeed have quota, before making the request.
This would probably be prohibitively hard to get right 100% of the time, but as long as it left some slush quota in case of race conditions, it could be really useful for clients to automatically obey their rate limit without having to design for it.
Metadata
Metadata
Assignees
Labels
No labels