debian-mirror-gitlab/doc/user/admin_area/settings/rate_limit_on_issues_creation.md

36 lines
1.4 KiB
Markdown
Raw Normal View History

2020-04-22 19:07:51 +05:30
---
type: reference
2020-06-23 00:09:42 +05:30
stage: Plan
group: Project Management
2021-02-22 17:27:13 +05:30
info: 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
2020-04-22 19:07:51 +05:30
---
2021-04-29 21:17:54 +05:30
# Rate limits on issue creation **(FREE SELF)**
2020-04-22 19:07:51 +05:30
2020-05-24 23:13:21 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28129) in GitLab 12.10.
2020-04-22 19:07:51 +05:30
2021-10-27 15:23:28 +05:30
This setting allows you to rate limit the requests to the issue and epic creation endpoints.
2021-09-04 01:27:46 +05:30
To can change its value:
2021-11-11 11:23:49 +05:30
1. On the top bar, select **Menu > Admin**.
2021-09-04 01:27:46 +05:30
1. On the left sidebar, select **Settings > Network**.
1. Expand **Issues Rate Limits**.
1. Under **Max requests per minute per user**, enter the new value.
1. Select **Save changes**.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
For example, if you set a limit of 300, requests using the
2021-11-18 22:05:49 +05:30
[Projects::IssuesController#create](https://gitlab.com/gitlab-org/gitlab/blob/master/app/controllers/projects/issues_controller.rb)
2020-04-22 19:07:51 +05:30
action exceeding a rate of 300 per minute are blocked. Access to the endpoint is allowed after one minute.
2021-10-27 15:23:28 +05:30
When using [epics](../../group/epics/index.md), epic creation will share this rate limit with issues.
![Rate limits on issues creation](img/rate_limit_on_issues_creation_v14_2.png)
2020-04-22 19:07:51 +05:30
This limit is:
- Applied independently per project and per user.
- Not applied per IP address.
2020-07-28 23:09:34 +05:30
- Disabled by default. To enable it, set the option to any value other than `0`.
2020-04-22 19:07:51 +05:30
Requests over the rate limit are logged into the `auth.log` file.