Delayed Job adapter for Active Job¶ ↑
Delayed::Job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. Although DJ can have many storage backends, one of the most used is based on Active Record. Read more about Delayed Job here.
To use Delayed Job, set the queue_adapter config to :delayed_job.
Rails.application.config.active_job.queue_adapter = :delayed_job
Methods
Instance Public methods
check_adapter() Link
# File activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb, line 19 def check_adapter ActiveJob.deprecator.warn <<~MSG.squish The built-in `delayed_job` adapter is deprecated and will be removed in Rails 9.0. Please upgrade `delayed_job` gem to version 4.2.0 or later to use the `delayed_job` gem's adapter. MSG end