mirror of https://github.com/rails/rails
Update activejob/lib/active_job/exceptions.rb
Co-authored-by: Alex Ghiculescu <alex@tanda.co>
This commit is contained in:
parent
09889cd4f0
commit
9ea1e7aa78
|
@ -27,7 +27,7 @@ module ActiveJob
|
|||
# <tt>:polynomially_longer</tt>, which applies the wait algorithm of <tt>((executions**4) + (Kernel.rand * (executions**4) * jitter)) + 2</tt>
|
||||
# (first wait ~3s, then ~18s, then ~83s, etc)
|
||||
# * <tt>:attempts</tt> - Enqueues the job the specified number of times (default: 5 attempts) or a symbol reference of <tt>:unlimited</tt>
|
||||
# to retry the job until it succeeds. Note that the number of attempts include the original job execution attempt as well
|
||||
# to retry the job until it succeeds. The number of attempts includes the original job execution.
|
||||
# * <tt>:queue</tt> - Re-enqueues the job on a different queue
|
||||
# * <tt>:priority</tt> - Re-enqueues the job with a different priority
|
||||
# * <tt>:jitter</tt> - A random delay of wait time used when calculating backoff. The default is 15% (0.15) which represents the upper bound of possible wait time (expressed as a percentage)
|
||||
|
|
Loading…
Reference in New Issue