mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-03 16:37:48 +00:00
14 lines
255 B
Ruby
14 lines
255 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module SidekiqMiddleware
|
|
class RequestStoreMiddleware
|
|
def call(worker, job, queue)
|
|
::Gitlab::SafeRequestStore.ensure_request_store do
|
|
yield
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|