Class: AttentiveSidekiq::Middleware::Client::Attentionist

Inherits:
Object
  • Object
show all
Defined in:
lib/attentive_sidekiq/middleware/client/attentionist.rb

Instance Method Summary collapse

Instance Method Details

#call(worker_class, item, queue, redis_pool = nil) ⇒ Object



5
6
7
8
9
# File 'lib/attentive_sidekiq/middleware/client/attentionist.rb', line 5

def call(worker_class, item, queue, redis_pool = nil)
  # TODO: we could backup job info here aswell
  # this would lead us to the need of more complex records filtering
  yield
end