We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
InsertOpts
1 parent eefc884 commit 3ab20e9Copy full SHA for 3ab20e9
lib/insert_opts.rb
@@ -1,8 +1,10 @@
1
module River
2
+ # Options for job insertion, and which can be provided by implementing
3
+ # #insert_opts on job args, or specified as a parameter on #insert or
4
+ # #insert_many.
5
class InsertOpts
- # MaxAttempts is the maximum number of total attempts (including both the
- # original run and all retries) before a job is abandoned and set as
- # discarded.
6
+ # The maximum number of total attempts (including both the original run and
7
+ # all retries) before a job is abandoned and set as discarded.
8
attr_accessor :max_attempts
9
10
# The priority of the job, with 1 being the highest priority and 4 being the
0 commit comments