13 lines
209 B
Ruby
13 lines
209 B
Ruby
module Gitlab
|
|
module SidekiqStatus
|
|
class ServerMiddleware
|
|
def call(worker, job, queue)
|
|
ret = yield
|
|
|
|
Gitlab::SidekiqStatus.unset(job['jid'])
|
|
|
|
ret
|
|
end
|
|
end
|
|
end
|
|
end
|