From 2522691eda46ef3ed572b747074e9b3b2e776198 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Fri, 1 Jun 2018 16:15:41 +0900 Subject: Fix ambiguous stuck ci job worker's spec. Rename lease key of archive --- lib/gitlab/ci/trace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1