Module: ActiveJob::QueueAdapters::ZizqAdapter::Dispatcher

Defined in:
lib/active_job/queue_adapters/zizq_adapter.rb

Overview

Dispatcher for Zizq workers that executes ActiveJob payloads.

ActiveJob handles its own deserialization, callbacks, and error handling. We just pass the serialized payload to Base.execute.

Class Method Summary collapse

Class Method Details

.call(job) ⇒ Object



83
84
85
# File 'lib/active_job/queue_adapters/zizq_adapter.rb', line 83

def self.call(job)
  ActiveJob::Base.execute(job.payload)
end