2020-10-23 11:08:42 -04:00
|
|
|
# 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)
|
2020-11-06 04:08:56 -05:00
|
|
|
BulkImports::Importers::GroupsImporter.new(bulk_import_id).execute
|
2020-10-23 11:08:42 -04:00
|
|
|
end
|
|
|
|
end
|