Sha256: e4bf17635c89fa925e5bf033d0607ef0b379463acd6e0b42e15de25a97d355e1

Contents?: true

Size: 184 Bytes

Versions: 1

Compression:

Stored size: 184 Bytes

Contents

module RequestStore
  module Sidekiq
    class ServerMiddleware
      def call(worker, job, queue)
        yield
      ensure
        ::RequestStore.clear!
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
request_store-sidekiq-0.1.0 lib/request_store/sidekiq/server_middleware.rb