Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1526df61
Commit
1526df61
authored
Mar 09, 2022
by
Ben Bodenmiller
Committed by
Kati Paizee
Mar 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that admin must set webhook_timeout
parent
a3fbeea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/user/project/integrations/webhooks.md
doc/user/project/integrations/webhooks.md
+3
-3
No files found.
doc/user/project/integrations/webhooks.md
View file @
1526df61
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment