Class: Sidekiq::SetRequestId
- Inherits:
-
Object
- Object
- Sidekiq::SetRequestId
- Defined in:
- lib/sidekiq/set_request_id.rb
Instance Method Summary collapse
Instance Method Details
#call(_worker, job, _queue, _redis_pool) ⇒ Object
4 5 6 7 8 |
# File 'lib/sidekiq/set_request_id.rb', line 4 def call(_worker, job, _queue, _redis_pool) job['request_id'] = RequestStore.store['request_id'] || 'N/A' yield end |