diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2016-02-05 15:35:37 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2016-02-05 15:35:37 +0100 |
commit | 625baa69d14881ac49ba2e5c7d9cac4b222d7022 (patch) | |
tree | b290cf57c085ec8ea17b2af49172e5e3141a6ea2 /guides/source | |
parent | 7fe32d28a8e73bfa826773c5a8777a316126cd38 (diff) | |
download | rails-625baa69d14881ac49ba2e5c7d9cac4b222d7022.tar.gz rails-625baa69d14881ac49ba2e5c7d9cac4b222d7022.tar.bz2 rails-625baa69d14881ac49ba2e5c7d9cac4b222d7022.zip |
Change the default adapter from inline to async
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_job_basics.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md index 76c13f0ea9..d8ea1ee079 100644 --- a/guides/source/active_job_basics.md +++ b/guides/source/active_job_basics.md @@ -109,10 +109,12 @@ That's it! Job Execution ------------- -For enqueuing and executing jobs 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 does not provide a sophisticated queuing system and just executes the -job immediately if no adapter is set. +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 +default async back-end. This may be fine for smaller apps or non-critical jobs, but most +production apps will need to pick a persistent backend. ### Backends |