diff options
author | Jose Torres <torres@balameb.com> | 2016-10-21 04:12:42 +0000 |
---|---|---|
committer | Jose Torres <torres@balameb.com> | 2016-10-21 04:12:42 +0000 |
commit | decf0fefe17a574782d47504920b9a2cfc7b14dc (patch) | |
tree | 1cf03cf0660b1139f6e9b8152045952058fa96cf /app/workers | |
parent | b7170277c65fb76b5d0d732ab598eb475b0d823c (diff) | |
download | gitlab-ce-decf0fefe17a574782d47504920b9a2cfc7b14dc.tar.gz |
Add retry limit and set it at four
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/project_web_hook_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/project_web_hook_worker.rb b/app/workers/project_web_hook_worker.rb index fb878965288..5f339fadcf5 100644 --- a/app/workers/project_web_hook_worker.rb +++ b/app/workers/project_web_hook_worker.rb @@ -1,7 +1,7 @@ class ProjectWebHookWorker include Sidekiq::Worker - sidekiq_options queue: :project_web_hook + sidekiq_options queue: :project_web_hook, retry: 4 def perform(hook_id, data, hook_name) data = data.with_indifferent_access |