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



78
79
80
# File 'lib/active_job/queue_adapters/zizq_adapter.rb', line 78

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