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

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

module Projects
  class ScheduleBulkRepositoryShardMovesWorker
    include ApplicationWorker

    sidekiq_options retry: 3

    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
end