Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.06 KB

rate_limits_on_raw_endpoints.md

File metadata and controls

25 lines (17 loc) · 1.06 KB
stage group info type
none
unassigned
To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
reference

Rate limits on raw endpoints (CORE ONLY)

Introduced in GitLab 12.2.

This setting allows you to rate limit the requests to raw endpoints, defaults to 300 requests per minute. It can be modified in Admin Area > Settings > Network > Performance Optimization.

For example, requests over 300 per minute to https://gitlab.com/gitlab-org/gitlab-foss/raw/master/app/controllers/application_controller.rb are blocked. Access to the raw file is released after 1 minute.

Rate limits on raw endpoints

This limit is:

  • Applied independently per project, per commit and per file path.
  • Not applied per IP address.
  • Active by default. To disable, set the option to 0.

Requests over the rate limit are logged into auth.log.