diff --git a/changelogs/unreleased/remove-trace-efficiently.yml b/changelogs/unreleased/remove-trace-efficiently.yml index 2a3f65d3bdf..a6ba6d28dce 100644 --- a/changelogs/unreleased/remove-trace-efficiently.yml +++ b/changelogs/unreleased/remove-trace-efficiently.yml @@ -1,5 +1,5 @@ --- -title: Remove job traces efficiently +title: Remove redundant query when removing trace merge_request: 20324 author: type: performance diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb index df553d59b4d..a283e62656f 100644 --- a/lib/gitlab/ci/trace.rb +++ b/lib/gitlab/ci/trace.rb @@ -6,7 +6,6 @@ module Gitlab LEASE_TIMEOUT = 1.hour ArchiveError = Class.new(StandardError) - EraseError = Class.new(StandardError) attr_reader :job