summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_pull_request_review_worker.rb
blob: 8796d6392df9314de6137ac7b5484c2a262bc360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

module Gitlab
  module GithubImport
    class ImportPullRequestReviewWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      tags :exclude_from_kubernetes
      worker_resource_boundary :cpu

      def representation_class
        Gitlab::GithubImport::Representation::PullRequestReview
      end

      def importer_class
        Importer::PullRequestReviewImporter
      end

      def object_type
        :pull_request_review
      end
    end
  end
end