Back to Gitlabhq

Rate limits on issue and epic creation

doc/administration/settings/rate_limit_on_issues_creation.md

18.11.21.2 KB
Original Source

{{< details >}}

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab Self-Managed

{{< /details >}}

Rate limits control the pace at which new epics and issues can be created. For example, if you set the limit to 300, the Projects::IssuesController#create action blocks requests that exceed a rate of 300 per minute. Access to the endpoint is available after one minute.

Set the rate limit

Prerequisites:

  • Administrator access.

To limit the number of requests made to the issue and epic creation endpoints:

  1. In the upper-right corner, select Admin.
  2. Select Settings > Network.
  3. Expand Issues Rate Limits.
  4. Under Max requests per minute, enter the new value.
  5. Select Save changes.

The limit for epic creation is the same limit applied to issue creation. The rate limit:

  • Is applied independently per project and per user.
  • Is not applied per IP address.
  • Can be set to 0 to disable the rate limit.

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