summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-04-06 20:13:52 +0100
committerRémy Coutable <remy@rymai.me>2017-04-14 15:20:55 +0200
commit856dcd1832a9351cebcabbf3fc2149e13145a699 (patch)
tree163365620be770ed7304a8b692dca6e16fa24e61 /app/workers
parent945bf66d7a7e80d6be422e7c14cbce1bdd35523f (diff)
downloadgitlab-ce-856dcd1832a9351cebcabbf3fc2149e13145a699.tar.gz
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