Commit 1526df61 authored by Ben Bodenmiller's avatar Ben Bodenmiller Committed by Kati Paizee

Clarify that admin must set webhook_timeout

parent a3fbeea9
...@@ -147,7 +147,7 @@ GitLab webhooks, keep in mind the following: ...@@ -147,7 +147,7 @@ GitLab webhooks, keep in mind the following:
Most HTTP libraries take care of the response for you automatically but if Most HTTP libraries take care of the response for you automatically but if
you are writing a low-level hook, this is important to remember. you are writing a low-level hook, this is important to remember.
- GitLab usually ignores the HTTP status code returned by your endpoint, - GitLab usually ignores the HTTP status code returned by your endpoint,
unless the `web_hooks_disable_failed` feature flag is set. unless the [`web_hooks_disable_failed` feature flag is set](#failing-webhooks).
### Failing webhooks ### Failing webhooks
...@@ -251,8 +251,8 @@ If the endpoint doesn't send an HTTP response in those 10 seconds, ...@@ -251,8 +251,8 @@ If the endpoint doesn't send an HTTP response in those 10 seconds,
GitLab may assume the webhook failed and retry it. GitLab may assume the webhook failed and retry it.
If your webhooks are failing or you are receiving multiple requests, If your webhooks are failing or you are receiving multiple requests,
you can try changing the default timeout value. an administrator can try changing the default timeout value
In your `/etc/gitlab/gitlab.rb` file, uncomment or add the following setting: by uncommenting or adding the following setting in `/etc/gitlab/gitlab.rb`:
```ruby ```ruby
gitlab_rails['webhook_timeout'] = 10 gitlab_rails['webhook_timeout'] = 10
......
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