Update activejob/lib/active_job/exceptions.rb

Co-authored-by: Alex Ghiculescu <alex@tanda.co>
This commit is contained in:
Johan Stenberg 2023-09-27 08:37:12 +02:00 committed by GitHub
parent 09889cd4f0
commit 9ea1e7aa78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)