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