Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ci_platform_metrics_update_cron_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8de6e8a1253bd2a48ceba60dc52166fc0087357a (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

  data_consistency :always

  # 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