19 lines
409 B
Ruby
19 lines
409 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Projects
|
||
|
class ScheduleRefreshBuildArtifactsSizeStatisticsWorker
|
||
|
include ApplicationWorker
|
||
|
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
|
||
|
|
||
|
data_consistency :always
|
||
|
|
||
|
feature_category :build_artifacts
|
||
|
|
||
|
idempotent!
|
||
|
|
||
|
def perform
|
||
|
Projects::RefreshBuildArtifactsSizeStatisticsWorker.perform_with_capacity
|
||
|
end
|
||
|
end
|
||
|
end
|