diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-06-01 10:15:41 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-06-06 11:49:48 +0300 |
commit | 2522691eda46ef3ed572b747074e9b3b2e776198 (patch) | |
tree | 76ea84bce4286cc1d20782b234cc42cc79a81c24 /lib | |
parent | 174c892e7efcd65b1c4560bddec6bb9b6d7fa966 (diff) |
Fix ambiguous stuck ci job worker's spec. Rename lease key of archive
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/trace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb index 30f6c624be4..5feef77e27e 100644 --- a/lib/gitlab/ci/trace.rb +++ b/lib/gitlab/ci/trace.rb @@ -215,7 +215,7 @@ module Gitlab # For ExclusiveLeaseGuard concerns def lease_key - @lease_key ||= self.class.name.underscore + ":archive:#{job.id}" + @lease_key ||= "trace:archive:#{job.id}" end # For ExclusiveLeaseGuard concern |