From 856dcd1832a9351cebcabbf3fc2149e13145a699 Mon Sep 17 00:00:00 2001 From: Sean McGivern Date: Thu, 6 Apr 2017 20:13:52 +0100 Subject: [PATCH] Fix usage ping worker queue --- app/workers/gitlab_usage_ping_worker.rb | 4 +--- 1 file changed, 1 insertion(+), 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