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

counter_job_worker.rb « instance_statistics « analytics « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4dda45ff729b4b13ac3d17bab5ecd8aee6f1daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module Analytics
  module InstanceStatistics
    # This worker will be removed in 14.0
    class CounterJobWorker
      include ApplicationWorker

      sidekiq_options retry: 3

      feature_category :devops_reports
      urgency :low
      tags :exclude_from_kubernetes

      idempotent!

      def perform(*args)
        # Delegate to the new worker
        Analytics::UsageTrends::CounterJobWorker.new.perform(*args)
      end
    end
  end
end