debian-mirror-gitlab/app/workers/authorized_project_update/periodic_recalculate_worker.rb
2021-06-08 01:23:25 +05:30

20 lines
474 B
Ruby

# 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