SidekiqStatus need to be qualified in some cases

Signed-off-by: NRémy Coutable <remy@rymai.me>
上级 059f47b6
...@@ -2,7 +2,7 @@ module Gitlab ...@@ -2,7 +2,7 @@ module Gitlab
module SidekiqStatus module SidekiqStatus
class ClientMiddleware class ClientMiddleware
def call(_, job, _, _) def call(_, job, _, _)
SidekiqStatus.set(job['jid']) Gitlab::SidekiqStatus.set(job['jid'])
yield yield
end end
end end
......
...@@ -4,7 +4,7 @@ module Gitlab ...@@ -4,7 +4,7 @@ module Gitlab
def call(worker, job, queue) def call(worker, job, queue)
ret = yield ret = yield
SidekiqStatus.unset(job['jid']) Gitlab::SidekiqStatus.unset(job['jid'])
ret ret
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册