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

35 lines
1.3 KiB
Markdown
Raw Normal View History

2021-03-11 19:13:27 +05:30
---
type: reference
stage: Plan
group: Project Management
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
---
2021-04-29 21:17:54 +05:30
# Rate limits on note creation **(FREE SELF)**
2021-03-11 19:13:27 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53637) in GitLab 13.9.
2021-11-11 11:23:49 +05:30
You can configure the per-user rate limit for requests to the note creation endpoint.
2021-03-11 19:13:27 +05:30
To change the note creation rate limit:
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**.
2021-11-11 11:23:49 +05:30
1. Expand **Notes rate limit**.
1. In the **Maximum requests per minute** box, enter the new value.
1. Optional. In the **Users to exclude from the rate limit** box, list users allowed to exceed the limit.
2021-03-11 19:13:27 +05:30
1. Select **Save changes**.
This limit is:
- Applied independently per user.
- Not applied per IP address.
The default value is `300`.
Requests over the rate limit are logged into the `auth.log` file.
For example, if you set a limit of 300, requests using the
2021-09-04 01:27:46 +05:30
[Projects::NotesController#create](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/controllers/projects/notes_controller.rb)
2021-03-11 19:13:27 +05:30
action exceeding a rate of 300 per minute are blocked. Access to the endpoint is allowed after one minute.