Sha256: 242d1a3fef562907b933752b5a2b8fcda7379a7d2ddb714492ae7d7435775186
Contents?: true
Size: 721 Bytes
Versions: 16
Compression:
Stored size: 721 Bytes
Contents
module ActiveJob module QueueAdapters # == Workhorse adapter for Active Job # # Workhorse is a multi-threaded job backend with database queuing for ruby. # Jobs are persisted in the database using ActiveRecird. # Read more about Workhorse {here}[https://github.com/sitrox/activejob]. # # To use Workhorse, set the queue_adapter config to +:workhorse+. # # Rails.application.config.active_job.queue_adapter = :workhorse class WorkhorseAdapter def enqueue(job) #:nodoc: Workhorse.enqueue_active_job(job) end def enqueue_at(job, timestamp = Time.now) #:nodoc: Workhorse.enqueue_active_job(job, perform_at: timestamp) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems