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 ...@@ -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