aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio B <claudiob@users.noreply.github.com>2016-08-18 15:45:02 -0700
committerGitHub <noreply@github.com>2016-08-18 15:45:02 -0700
commit47ff483b8b29b871cb840992649b2eb83ee91095 (patch)
tree9143625c8c2b71815fe1166cba3ee0a43bda10e0
parentfd0c33d7cc8dd06083f543cf531ab1f4c52c6a6e (diff)
parenta0c4bcf65176873b7af0895e229fe93c6bc71438 (diff)
downloadrails-47ff483b8b29b871cb840992649b2eb83ee91095.tar.gz
rails-47ff483b8b29b871cb840992649b2eb83ee91095.tar.bz2
rails-47ff483b8b29b871cb840992649b2eb83ee91095.zip
Merge pull request #26214 from philnash/active-job-default-queue
Updates Active Job guide on default runner.
-rw-r--r--guides/source/active_job_basics.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md
index c9f70dc87b..c65d1e6de5 100644
--- a/guides/source/active_job_basics.md
+++ b/guides/source/active_job_basics.md
@@ -34,8 +34,9 @@ Delayed Job and Resque. Picking your queuing backend becomes more of an operatio
concern, then. And you'll be able to switch between them without having to rewrite
your jobs.
-NOTE: Rails by default comes with an "immediate runner" queuing implementation.
-That means that each job that has been enqueued will run immediately.
+NOTE: Rails by default comes with an asynchronous queuing implementation that
+runs jobs with an in-process thread pool. Jobs will run asynchronously, but any
+jobs in the queue will be dropped upon restart.
Creating a Job
@@ -109,7 +110,7 @@ That's it!
Job Execution
-------------
-For enqueuing and executing jobs in production you need to set up a queuing backend,
+For enqueuing and executing jobs in production you need to set up a queuing backend,
that is to say you need to decide for a 3rd-party queuing library that Rails should use.
Rails itself only provides an in-process queuing system, which only keeps the jobs in RAM.
If the process crashes or the machine is reset, then all outstanding jobs are lost with the