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

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

module Database
  class BatchedBackgroundMigrationWorker # rubocop:disable Scalability/IdempotentWorker
    include BatchedBackgroundMigration::SingleDatabaseWorker

    def self.tracking_database
      @tracking_database ||= Gitlab::Database::MAIN_DATABASE_NAME.to_sym
    end

    def execution_worker_class
      @execution_worker_class ||= Database::BatchedBackgroundMigration::MainExecutionWorker
    end
  end
end