gitlab API 是否有速率限制

Does gitlab API have a rate limit

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

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

答案是no longer "no",至少在gitlab.com:

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

现在每个 API 响应都有以下 headers:

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

this issue 看来,限制是每个 IP 地址每秒 10 个请求。

看起来 GitLab 现在(2019 年 12 月)记录了他们的速率限制。

gitlab.com-特定速率限制记录在此处:https://docs.gitlab.com/ee/user/gitlab_com/index.html#gitlabcom-specific-rate-limits

TL;DR:每个 IP 地址每秒 10 个请求(如@Maxim 所述)

而且我认为这是针对企业速率限制的:https://docs.gitlab.com/ee/security/rate_limits.html

对于自我管理部署,速率限制是可配置的。对于 GitLab.com 特定速率限制,请参阅 here