debian-mirror-gitlab/lib/gitlab/sidekiq_middleware/request_store_middleware.rb
2020-04-08 14:13:33 +05:30

15 lines
266 B
Ruby

# frozen_string_literal: true
module Gitlab
module SidekiqMiddleware
class RequestStoreMiddleware
include Gitlab::WithRequestStore
def call(worker, job, queue)
with_request_store do
yield
end
end
end
end
end