Sha256: a0a7d003c26127d085dbc1b670fd1d0a667e1419656f803ca0e320656aa10c78

Contents?: true

Size: 397 Bytes

Versions: 8

Compression:

Stored size: 397 Bytes

Contents

module LiveQA
  module Plugins
    module Sidekiq
      ##
      # LiveQA \Plugins \Sidekiq \Client \Middleware
      #
      # Client middleware for sidekiq
      #
      class ClientMiddleware

        def call(_worker_class, job, _queue, _redis_pool)
          job['liveqa_session_tracker_id'] = LiveQA::Store.store[:session_tracker_id]
          yield
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
liveqa-1.9.6 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.9.5 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.9.4 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.9.3 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.9.2 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.9.1 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.9.0 lib/liveqa/plugins/sidekiq/client_middleware.rb
liveqa-1.8.3 lib/liveqa/plugins/sidekiq/client_middleware.rb