blob: 05af0a0a73b20bc94d9cb72963ecc788e8f190b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
class CiPlatformMetricsUpdateCronWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
# This worker does not perform work scoped to a context
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_integration
urgency :low
worker_resource_boundary :cpu
def perform
CiPlatformMetric.insert_auto_devops_platform_targets!
end
end
|