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 'lib/gitlab/bitbucket_import/parallel_scheduling.rb')
-rw-r--r--lib/gitlab/bitbucket_import/parallel_scheduling.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/gitlab/bitbucket_import/parallel_scheduling.rb b/lib/gitlab/bitbucket_import/parallel_scheduling.rb
index f4df9a35526..ca2597ea5cf 100644
--- a/lib/gitlab/bitbucket_import/parallel_scheduling.rb
+++ b/lib/gitlab/bitbucket_import/parallel_scheduling.rb
@@ -4,6 +4,7 @@ module Gitlab
module BitbucketImport
module ParallelScheduling
include Loggable
+ include ErrorTracking
attr_reader :project, :already_enqueued_cache_key, :job_waiter_cache_key
@@ -79,15 +80,6 @@ module Gitlab
(multiplier * 1.minute) + 1.second
end
-
- def track_import_failure!(project, exception:, **args)
- Gitlab::Import::ImportFailureService.track(
- project_id: project.id,
- error_source: self.class.name,
- exception: exception,
- **args
- )
- end
end
end
end