Commit e9e538a2 authored by Robert Speicher's avatar Robert Speicher

Merge branch '27759-fix-sidekiq_status-client_middleware-issue' into 'master'

SidekiqStatus need to be qualified in some cases

Closes #27759

See merge request !9235
parents bd0def2c b05003af
......@@ -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