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: ec1fc26fad3f73c1821e1296ed62f865bf87d341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

class CiPlatformMetricsUpdateCronWorker # rubocop:disable Scalability/IdempotentWorker
  include ApplicationWorker

  # 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