简体   繁体   中英

Does gitlab API have a rate limit

github 对 OAuth 客户端的速率限制为 5000/小时,但我无法从gitlab 中找到相同的信息(除了创建新用户和重置密码的 6/分钟),是否意味着没有限制?

The answer is no longer "no" , at least on gitlab.com:

We enabled capacity limiting on GitLab.com to reduce impact of GitLab Runners on stability of GitLab.

Now each API response has the following headers:

RateLimit-Limit: 600
RateLimit-Observed: 12
RateLimit-Remaining: 588

From this issue , it looks like the limit is 10 requests per second per IP address.

截至今天(2016 年 9 月),答案是否定的。

It looks like GitLab has now (December 2019) documented their rate limits.

gitlab.com-specific rate limits are documented here: https://docs.gitlab.com/ee/user/gitlab_com/index.html#gitlabcom-specific-rate-limits

TL;DR: 10 requests per second per IP address (as @Maxim mentioned)

And I believe this is for enterprise rate limiting: https://docs.gitlab.com/ee/security/rate_limits.html

For self-managed deploys the rate limits are configurable. For GitLab.com specific rate limits see here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM