Sha256: 1d0547423a7961042f0a9a64dae61aec2f7aee7b0f2eed2208dd65f6b75a34ff
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
module Hawkei module Plugins module Sidekiq ## # Hawkei \Plugins \Sidekiq \Client \Middleware # # Client middleware for sidekiq # class ClientMiddleware def call(_worker_class, job, _queue, _redis_pool) job[Hawkei::Const::SESSION_TRACKER_ID] = Hawkei::Store.store[:session_tracker_id] job[Hawkei::Const::FOLLOW] = Hawkei::Store.store[:auto_id] yield end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hawkei-1.1.0 | lib/hawkei/plugins/sidekiq/client_middleware.rb |