Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Torres <torres@balameb.com>2016-10-21 07:12:42 +0300
committerJose Torres <torres@balameb.com>2016-10-21 07:12:42 +0300
commitdecf0fefe17a574782d47504920b9a2cfc7b14dc (patch)
tree1cf03cf0660b1139f6e9b8152045952058fa96cf /app/workers
parentb7170277c65fb76b5d0d732ab598eb475b0d823c (diff)
Add retry limit and set it at four
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/project_web_hook_worker.rb2
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