debian-mirror-gitlab/app/workers/bulk_import_worker.rb

16 lines
354 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# 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