16 lines
396 B
Ruby
16 lines
396 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Snippets
|
||
|
class ScheduleBulkRepositoryShardMovesWorker
|
||
|
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
|
||
|
end
|