SidekiqStatus need to be qualified in some cases
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
059f47b6ba
commit
b05003af47
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue