Add support to configure webhook_timeout in gitlab.yaml
Created by: wesgurn
Our Gitlab instance needed the ability to increase the webhook_timeout used by HTTParty. It was hardcoded at 10 and I moved it to a gitlab.yaml file as a config variable
Webhook settings
webhook_timeout: 30 # default: 10 - Number of seconds to wait for HTTP response after sending webhook HTTP POST request
Merge request reports
Activity
Unable to load the diff Created by: wesgurn
I was putting 30 in as an example that is different from the default of 10.
We can change the 30 to 10, but was trying to show a difference example.
By Administrator on 2013-10-09T05:00:58 (imported from GitLab project)
By Administrator on 2013-10-09T05:00:58 (imported from GitLab)
Created by: demisx
Also, recommend sticking to best practices when titling your PRs. Use imperative style comments instead of past tense (see: http://git.kernel.org/cgit/git/git.git/tree/Documentation/SubmittingPatches?id=HEAD). For example, "Add support to ..." in lieu of "Added support to ..."
By Administrator on 2013-09-02T16:23:16 (imported from GitLab project)
By Administrator on 2013-09-02T16:23:16 (imported from GitLab)
Created by: drakeguan
Thumb up for this idea cause here we also faced to manipulate webhook's timeout by manually update
/app/models/web_hook.rb
. We thought it should not be the way to do that but that's what we have done right now.By Administrator on 2013-09-23T03:09:10 (imported from GitLab project)
By Administrator on 2013-09-23T03:09:10 (imported from GitLab)