Commit b05003af authored by Rémy Coutable's avatar Rémy Coutable

SidekiqStatus need to be qualified in some cases

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment