Commit 856dcd18 authored by Sean McGivern's avatar Sean McGivern Committed by Rémy Coutable

Fix usage ping worker queue

parent 945bf66d
...@@ -2,11 +2,9 @@ class GitlabUsagePingWorker ...@@ -2,11 +2,9 @@ class GitlabUsagePingWorker
LEASE_TIMEOUT = 86400 LEASE_TIMEOUT = 86400
include Sidekiq::Worker include Sidekiq::Worker
include CronjobQueue
include HTTParty include HTTParty
# This is not guaranteed to succeed, so don't retry on failure
sidekiq_options queue: :default, retry: false
def perform def perform
return unless current_application_settings.usage_ping_enabled return unless current_application_settings.usage_ping_enabled
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment