Class: SolidQueue::Dispatcher::ConcurrencyMaintenance

Inherits:
Dispatcher::Maintenance
  • Object
show all
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

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