BigW Consortium Gitlab

SidekiqStatus need to be qualified in some cases

Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
parent 059f47b6
......@@ -2,7 +2,7 @@ module Gitlab
module SidekiqStatus
class ClientMiddleware
def call(_, job, _, _)
SidekiqStatus.set(job['jid'])
Gitlab::SidekiqStatus.set(job['jid'])
yield
end
end
......
......@@ -4,7 +4,7 @@ module Gitlab
def call(worker, job, queue)
ret = yield
SidekiqStatus.unset(job['jid'])
Gitlab::SidekiqStatus.unset(job['jid'])
ret
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment