Commit 3647f578 authored by Evan Read's avatar Evan Read

Merge branch 'nelbacha-master-patch-82540' into 'master'

Mention the configuration for timeout under tips

See merge request gitlab-org/gitlab!48822
parents bb85fb32 d2a6439f
...@@ -68,7 +68,9 @@ If you are writing your own endpoint (web server) to receive ...@@ -68,7 +68,9 @@ If you are writing your own endpoint (web server) to receive
GitLab webhooks, keep in mind the following things: GitLab webhooks, keep in mind the following things:
- Your endpoint should send its HTTP response as fast as possible. If - Your endpoint should send its HTTP response as fast as possible. If
you wait too long, GitLab may decide the hook failed and retry it. you wait too long (by default, a timeout of 10 seconds), GitLab may decide
the hook failed and retry it. You can configure this timeout with
`gitlab_rails['webhook_timeout']`.
- Your endpoint should ALWAYS return a valid HTTP response. If you do - Your endpoint should ALWAYS return a valid HTTP response. If you do
not do this then GitLab thinks the hook failed and retries it. not do this then GitLab thinks the hook failed and retries it.
Most HTTP libraries take care of this for you automatically but if Most HTTP libraries take care of this for you automatically but if
......
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