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:
authorSean McGivern <sean@gitlab.com>2017-04-06 22:13:52 +0300
committerRémy Coutable <remy@rymai.me>2017-04-14 16:20:55 +0300
commit856dcd1832a9351cebcabbf3fc2149e13145a699 (patch)
tree163365620be770ed7304a8b692dca6e16fa24e61 /app/workers
parent945bf66d7a7e80d6be422e7c14cbce1bdd35523f (diff)
Fix usage ping worker queue
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/gitlab_usage_ping_worker.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/gitlab_usage_ping_worker.rb b/app/workers/gitlab_usage_ping_worker.rb
index 4a9d626caec..2f02235b0ac 100644
--- a/app/workers/gitlab_usage_ping_worker.rb
+++ b/app/workers/gitlab_usage_ping_worker.rb
@@ -2,11 +2,9 @@ class GitlabUsagePingWorker
LEASE_TIMEOUT = 86400
include Sidekiq::Worker
+ include CronjobQueue
include HTTParty
- # This is not guaranteed to succeed, so don't retry on failure
- sidekiq_options queue: :default, retry: false
-
def perform
return unless current_application_settings.usage_ping_enabled