diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-10-31 15:13:44 +0000 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-10-31 15:13:44 +0000 |
commit | 5566f277caffc6be3f5c7bfa8e8ab2fab2928ce9 (patch) | |
tree | e25fe417a3a01e0bd73145475869a73e25c8a062 | |
parent | 490776517c394ced2780159fa3800e2accc27601 (diff) | |
parent | 1ff00cb2dd168d98b0d4f4995216ed909dae9349 (diff) | |
download | gitlab-ce-5566f277caffc6be3f5c7bfa8e8ab2fab2928ce9.tar.gz |
Merge branch 'add-retry-limit-project-webhook'
-rw-r--r-- | app/workers/project_web_hook_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/project_web_hook_worker.rb b/app/workers/project_web_hook_worker.rb index efb85eafd15..d973e662ff2 100644 --- a/app/workers/project_web_hook_worker.rb +++ b/app/workers/project_web_hook_worker.rb @@ -2,6 +2,8 @@ class ProjectWebHookWorker include Sidekiq::Worker include DedicatedSidekiqQueue + sidekiq_options retry: 4 + def perform(hook_id, data, hook_name) data = data.with_indifferent_access WebHook.find(hook_id).execute(data, hook_name) |