18 lines
452 B
Ruby
18 lines
452 B
Ruby
# frozen_string_literal: true
|
|
module Gitlab
|
|
module PhabricatorImport
|
|
class ImportTasksWorker < BaseWorker # rubocop:disable Scalability/IdempotentWorker
|
|
include ApplicationWorker
|
|
|
|
data_consistency :always
|
|
|
|
sidekiq_options retry: 3
|
|
include ProjectImportOptions # This marks the project as failed after too many tries
|
|
|
|
def importer_class
|
|
Gitlab::PhabricatorImport::Issues::Importer
|
|
end
|
|
end
|
|
end
|
|
end
|