summaryrefslogtreecommitdiff
path: root/app/workers/partition_creation_worker.rb
blob: 3f74dc3812a392ba1831a5b507dc916fb38e60e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class PartitionCreationWorker
  include ApplicationWorker

  data_consistency :always

  include CronjobQueue # rubocop:disable Scalability/CronWorkerContext

  feature_category :database
  idempotent!

  def perform
    # This worker has been removed in favor of Database::PartitionManagementWorker
    Database::PartitionManagementWorker.new.perform
  end
end