debian-mirror-gitlab/app/workers/bulk_import_worker.rb
2021-01-30 21:13:34 +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