debian-mirror-gitlab/app/workers/authorized_project_update/periodic_recalculate_worker.rb
2021-10-27 15:23:28 +05:30

22 lines
475 B
Ruby

# frozen_string_literal: true
module AuthorizedProjectUpdate
class PeriodicRecalculateWorker
include ApplicationWorker
data_consistency :always
# 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