mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
added punctuations, and role of queue_adapter module [ci skip]
This commit is contained in:
parent
45e8a4b6c9
commit
84f313ab5d
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
require 'active_job/queue_adapters/inline_adapter'
|
require 'active_job/queue_adapters/inline_adapter'
|
||||||
require 'active_support/core_ext/string/inflections'
|
require 'active_support/core_ext/string/inflections'
|
||||||
|
|
||||||
|
# The <tt>ActionJob::QueueAdapter</tt> module is used to load the
|
||||||
|
# correct adapter. The default queue adapter is the :inline queue.
|
||||||
module ActiveJob
|
module ActiveJob
|
||||||
module QueueAdapter #:nodoc:
|
module QueueAdapter #:nodoc:
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
|
@ -6,10 +6,10 @@ module ActiveJob
|
||||||
#
|
#
|
||||||
# Delayed::Job (or DJ) encapsulates the common pattern of asynchronously
|
# Delayed::Job (or DJ) encapsulates the common pattern of asynchronously
|
||||||
# executing longer tasks in the background. Although DJ can have many
|
# executing longer tasks in the background. Although DJ can have many
|
||||||
# storage backends one of the most used is based on Active Record.
|
# storage backends, one of the most used is based on Active Record.
|
||||||
# Read more about Delayed Job {here}[https://github.com/collectiveidea/delayed_job].
|
# Read more about Delayed Job {here}[https://github.com/collectiveidea/delayed_job].
|
||||||
#
|
#
|
||||||
# To use Delayed Job set the queue_adapter config to +:delayed_job+.
|
# To use Delayed Job, set the queue_adapter config to +:delayed_job+.
|
||||||
#
|
#
|
||||||
# Rails.application.config.active_job.queue_adapter = :delayed_job
|
# Rails.application.config.active_job.queue_adapter = :delayed_job
|
||||||
class DelayedJobAdapter
|
class DelayedJobAdapter
|
||||||
|
|
Loading…
Reference in a new issue