Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-28 09:09:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-28 09:09:01 +0300
commitbbf6581214128ae12a6ff32f66a0d03ee57a2e91 (patch)
tree0da60e8d374831618a6d3fb0a1260d83405ef42b /doc/administration/instance_limits.md
parent5cef625594aedbac12011d870719fe81a1587a98 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/instance_limits.md')
-rw-r--r--doc/administration/instance_limits.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/administration/instance_limits.md b/doc/administration/instance_limits.md
index 411563d448c..92ca5c0962d 100644
--- a/doc/administration/instance_limits.md
+++ b/doc/administration/instance_limits.md
@@ -43,6 +43,18 @@ A maximum number of project webhooks applies to each GitLab.com tier. Check the
[Maximum number of webhooks (per tier)](../user/project/integrations/webhooks.md#maximum-number-of-webhooks-per-tier)
section in the Webhooks page.
+To set this limit on a self-hosted installation, run the following in the
+[GitLab Rails console](https://docs.gitlab.com/omnibus/maintenance/#starting-a-rails-console-session):
+
+```ruby
+# If limits don't exist for the default plan, you can create one with:
+# Plan.default.create_limits!
+
+Plan.default.limits.update!(project_hooks: 100)
+```
+
+NOTE: **Note:** Set the limit to `0` to disable it.
+
## CI/CD limits
### Number of jobs in active pipelines
@@ -73,4 +85,4 @@ To set this limit on a self-hosted installation, run the following in the
Plan.default.limits.update!(ci_active_jobs: 500)
```
-Set the limit to `0` to disable it.
+NOTE: **Note:** Set the limit to `0` to disable it.