Commit fcd7d32b authored by Fiona Neill's avatar Fiona Neill

Merge branch 'bbodenmiller-master-patch-49615' into 'master'

Improve rate limiting docs

See merge request gitlab-org/gitlab!73359
parents 5e99c299 98b81fb1
...@@ -76,7 +76,9 @@ To enable the unauthenticated request rate limit: ...@@ -76,7 +76,9 @@ To enable the unauthenticated request rate limit:
## Use a custom rate limit response ## Use a custom rate limit response
A request that exceeds a rate limit returns a 429 response code and a > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50693) in GitLab 13.8.
A request that exceeds a rate limit returns a `429` response code and a
plain-text body, which by default is `Retry later`. plain-text body, which by default is `Retry later`.
To use a custom response: To use a custom response:
...@@ -88,7 +90,7 @@ To use a custom response: ...@@ -88,7 +90,7 @@ To use a custom response:
## Response headers ## Response headers
> [Introduced](https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/731) in GitLab 13.8, the `Rate-Limit` headers. `Retry-After` was introduced in an earlier version. > [Introduced](https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/731) in GitLab 13.8, the `RateLimit` headers. `Retry-After` was introduced in an earlier version.
When a client exceeds the associated rate limit, the following requests are When a client exceeds the associated rate limit, the following requests are
blocked. The server may respond with rate-limiting information allowing the blocked. The server may respond with rate-limiting information allowing the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment