Fix usage ping worker queue
This commit is contained in:
parent
945bf66d7a
commit
856dcd1832
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue