Commit f86bdd53 authored by Kati Paizee's avatar Kati Paizee Committed by Marcel Amirault

Split webhook instance and .com limits

parent b464f29e
...@@ -151,7 +151,7 @@ Plan.default.actual_limits.update!(web_hook_calls: 10) ...@@ -151,7 +151,7 @@ Plan.default.actual_limits.update!(web_hook_calls: 10)
Set the limit to `0` to disable it. Set the limit to `0` to disable it.
- **Default rate limit**: Disabled. - **Default rate limit**: Disabled (unlimited).
## Gitaly concurrency limit ## Gitaly concurrency limit
...@@ -230,10 +230,8 @@ There is a limit when embedding metrics in GitLab Flavored Markdown (GFM) for pe ...@@ -230,10 +230,8 @@ There is a limit when embedding metrics in GitLab Flavored Markdown (GFM) for pe
## Number of webhooks ## Number of webhooks
On GitLab.com, the [maximum number of webhooks and their size](../user/gitlab_com/index.md#webhooks) per project, and per group, is limited. To set the maximum number of group or project webhooks for a self-managed installation,
run the following in the [GitLab Rails console](operations/rails_console.md#starting-a-rails-console-session):
To set this limit for a self-managed installation, where the default is `100` project webhooks and `50` group webhooks, run the following in the
[GitLab Rails console](operations/rails_console.md#starting-a-rails-console-session):
```ruby ```ruby
# If limits don't exist for the default plan, you can create one with: # If limits don't exist for the default plan, you can create one with:
...@@ -248,6 +246,11 @@ Plan.default.actual_limits.update!(group_hooks: 100) ...@@ -248,6 +246,11 @@ Plan.default.actual_limits.update!(group_hooks: 100)
Set the limit to `0` to disable it. Set the limit to `0` to disable it.
- **Default maximum number of webhooks**: `100` per project, `50` per group
- **Maximum payload size**: 25 MB
For GitLab.com, see the [webhook limits for GitLab.com](../user/gitlab_com/index.md#webhooks).
## Pull Mirroring Interval ## Pull Mirroring Interval
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/237891) in GitLab 13.7. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/237891) in GitLab 13.7.
......
...@@ -209,13 +209,17 @@ also load certain page content directly from common public CDN hostnames. ...@@ -209,13 +209,17 @@ also load certain page content directly from common public CDN hostnames.
## Webhooks ## Webhooks
The following limits apply for [Webhooks](../project/integrations/webhooks.md): The following limits apply for [webhooks](../project/integrations/webhooks.md):
| Setting | GitLab.com | Default | | Setting | Default for GitLab.com |
|----------------------|-------------|---------| |----------------------|-------------------------|
| [Webhook rate limit](../../administration/instance_limits.md#webhook-rate-limit) | `120` calls per minute for GitLab Free, unlimited for GitLab Premium and GitLab Ultimate | Unlimited | | Webhook rate limit | `120` calls per minute for GitLab Free, unlimited for GitLab Premium and GitLab Ultimate |
| [Number of webhooks](../../administration/instance_limits.md#number-of-webhooks) | `100` per project, `50` per group | `100` per project, `50` per group | | Number of webhooks | `100` per project, `50` per group |
| Maximum payload size | 25 MB | 25 MB | | Maximum payload size | 25 MB |
For self-managed instance limits, see
[Webhook rate limit](../../administration/instance_limits.md#webhook-rate-limit)
and [Number of webhooks](../../administration/instance_limits.md#number-of-webhooks).
## Runner SaaS ## Runner SaaS
......
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