summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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