summaryrefslogtreecommitdiff
path: root/app/workers/analytics/instance_statistics/counter_job_worker.rb
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