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

partition_creation_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b833e818b32e4c0e17fb6960271a534c3f365be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class PartitionCreationWorker
  include ApplicationWorker
  include CronjobQueue # rubocop:disable Scalability/CronWorkerContext

  feature_category :database
  idempotent!

  def perform
    Gitlab::Database::Partitioning::PartitionCreator.new.create_partitions
  end
end