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

snippet_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: 47f24ad35003593a6eff9cd9de73c19ad5edbc3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class SnippetScheduleBulkRepositoryShardMovesWorker
  include ApplicationWorker

  idempotent!
  feature_category :gitaly
  urgency :throttled

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