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

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

class ProjectScheduleBulkRepositoryShardMovesWorker
  include ApplicationWorker

  idempotent!
  feature_category :gitaly
  urgency :throttled

  def perform(source_storage_name, destination_storage_name = nil)
    Projects::ScheduleBulkRepositoryShardMovesService.new.execute(source_storage_name, destination_storage_name)
  end
end