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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/gitlab/github_import/stage/import_base_data_worker.rb')
-rw-r--r--app/workers/gitlab/github_import/stage/import_base_data_worker.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/workers/gitlab/github_import/stage/import_base_data_worker.rb b/app/workers/gitlab/github_import/stage/import_base_data_worker.rb
index cc6a2255160..94cb3cb6c71 100644
--- a/app/workers/gitlab/github_import/stage/import_base_data_worker.rb
+++ b/app/workers/gitlab/github_import/stage/import_base_data_worker.rb
@@ -8,7 +8,6 @@ module Gitlab
data_consistency :always
- sidekiq_options retry: 3
include GithubImport::Queue
include StageMethods
@@ -31,22 +30,6 @@ module Gitlab
project.import_state.refresh_jid_expiration
ImportPullRequestsWorker.perform_async(project.id)
- rescue StandardError => e
- Gitlab::Import::ImportFailureService.track(
- project_id: project.id,
- error_source: self.class.name,
- exception: e,
- fail_import: abort_on_failure,
- metrics: true
- )
-
- raise(e)
- end
-
- private
-
- def abort_on_failure
- true
end
end
end