Class: Sidekiq::LimitFetch
- Inherits:
-
Object
- Object
- Sidekiq::LimitFetch
- Defined in:
- lib/sidekiq/limit_fetch/queues.rb,
lib/sidekiq/limit_fetch.rb
Defined Under Namespace
Modules: Global, Local, Singleton Classes: Queues, UnitOfWork
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ LimitFetch
constructor
A new instance of LimitFetch.
- #retrieve_work ⇒ Object
Constructor Details
Class Method Details
.bulk_requeue(jobs) ⇒ Object
17 18 19 |
# File 'lib/sidekiq/limit_fetch.rb', line 17 def self.bulk_requeue(jobs) Sidekiq::BasicFetch.bulk_requeue jobs end |
Instance Method Details
#retrieve_work ⇒ Object
26 27 28 29 |
# File 'lib/sidekiq/limit_fetch.rb', line 26 def retrieve_work queue, = UnitOfWork.new queue, if end |