-
Notifications
You must be signed in to change notification settings - Fork 374
Document rate limits #1944
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
Document rate limits #1944
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
docs/hub/rate-limits.md
Outdated
| | **RateLimit-Remaining** | How many requests of this type you have left in the current window. | | ||
| | **RateLimit-Reset** | Number of seconds until the rate limit window resets (or until quota is refreshed). Uses a “delta-seconds” format to reduce clock sync issues. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those two headers are removed in upcoming PR - the RateLimit-Limit header now contains "api|pages|resolvers";r=[remaining];t=[seconds remaining until reset] and the RateLimit-Policy header now contains "fixed window";"api|pages|resolvers";q=[total allowed for window];w=[window duration in seconds]
as per https://www.ietf.org/archive/id/draft-ietf-httpapi-ratelimit-headers-09.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
care to update directly on this branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Co-authored-by: vb <[email protected]> Co-authored-by: Lucain <[email protected]>
Co-authored-by: Pedro Cuenca <[email protected]>
Co-authored-by: Simon Brandeis <[email protected]>
|
Ok I'll merge this first version. Thanks everyone for the awesome help!!!! Love you!! |
Direct link to the page: https://moon-ci-docs.huggingface.co/docs/hub/pr_1944/en/rate-limits