Welcome to mirror list, hosted at ThFree Co, Russian Federation.

import_tasks_worker.rb « phabricator_import « gitlab « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f650681fc2f692dafca1810c53fb8f6d70ecefaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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