gitlab-org--gitlab-foss/app/workers/authorized_project_update/periodic_recalculate_worker.rb

21 lines
474 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module AuthorizedProjectUpdate
class PeriodicRecalculateWorker
include ApplicationWorker
sidekiq_options retry: 3
# This worker does not perform work scoped to a context
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :source_code_management
urgency :low
idempotent!
def perform
AuthorizedProjectUpdate::PeriodicRecalculateService.new.execute
end
end
end