debian-mirror-gitlab/app/workers/bulk_import_worker.rb
2021-01-29 00:20:46 +05:30

15 lines
354 B
Ruby

# frozen_string_literal: true
class BulkImportWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
feature_category :importers
sidekiq_options retry: false, dead: false
worker_has_external_dependencies!
def perform(bulk_import_id)
BulkImports::Importers::GroupsImporter.new(bulk_import_id).execute
end
end