Class: Sidekiq::Middleware::Client::ResqueWebCompatibility

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq/middleware/client/resque_web_compatibility.rb

Instance Method Summary collapse

Instance Method Details

#call(item, queue) ⇒ Object


6
7
8
9
# File 'lib/sidekiq/middleware/client/resque_web_compatibility.rb', line 6

def call(item, queue)
  Sidekiq.redis.sadd('queues', queue)
  yield
end