diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-19 15:57:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-19 15:57:54 +0300 |
commit | 419c53ec62de6e97a517abd5fdd4cbde3a942a34 (patch) | |
tree | 1f43a548b46bca8a5fb8fe0c31cef1883d49c5b6 /lib/gitlab/bitbucket_import/parallel_scheduling.rb | |
parent | 1da20d9135b3ad9e75e65b028bffc921aaf8deb7 (diff) |
Add latest changes from gitlab-org/gitlab@16-5-stable-eev16.5.0-rc42
Diffstat (limited to 'lib/gitlab/bitbucket_import/parallel_scheduling.rb')
-rw-r--r-- | lib/gitlab/bitbucket_import/parallel_scheduling.rb | 10 |
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 |