class ActiveJob::QueueAdapters::QueAdapter
Que adapter for Active Job¶ ↑
Que is a high-performance alternative to DelayedJob or QueueClassic that improves the reliability of your application by protecting your jobs with the same ACID guarantees as the rest of your data. Que is a queue for Ruby and PostgreSQL that manages jobs using advisory locks.
Read more about Que here.
To use Que set the queue_adapter config to :que
.
Rails.application.config.active_job.queue_adapter = :que
Private Instance Methods
Source
# File lib/active_job/queue_adapters/que_adapter.rb, line 49 def require_job_options_kwarg? @require_job_options_kwarg ||= JobWrapper.method(:enqueue).parameters.any? { |ptype, pname| ptype == :key && pname == :job_options } end