Class: SolidQueue::Dispatcher::ConcurrencyMaintenance
- Inherits:
-
Dispatcher::Maintenance
- Object
- Dispatcher::Maintenance
- SolidQueue::Dispatcher::ConcurrencyMaintenance
- Defined in:
- lib/solid_queue/dispatcher/concurrency_maintenance.rb
Overview
Kept for compatibility: concurrency maintenance runs on the shared Dispatcher::Maintenance timer, together with batch maintenance.
Instance Method Summary collapse
-
#initialize(interval, batch_size) ⇒ ConcurrencyMaintenance
constructor
A new instance of ConcurrencyMaintenance.
Constructor Details
#initialize(interval, batch_size) ⇒ ConcurrencyMaintenance
Returns a new instance of ConcurrencyMaintenance.
7 8 9 |
# File 'lib/solid_queue/dispatcher/concurrency_maintenance.rb', line 7 def initialize(interval, batch_size) super(interval, batch_size, concurrency: true, batches: false) end |