Skip to content

feature request: maxAttempts set to unlimited #475

Answered by bgentry
vsoch asked this question in Q&A
Discussion options

You must be logged in to vote

The database column is an int16 so at the very least you’re limited to the max positive value of that. However it’s probably not a good idea to retry a single job indefinitely due to the nature of how River stores job results in a jsonb column. That would start to get pretty large to keep updating & rewriting it.

Another option is to have your jobs snooze instead of erroring when they need to try again later due to some predictable reason. Although as of now the attempt count keeps being incremented on snooze so you would encounter the same limit there too.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vsoch
Comment options

Answer selected by bgentry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #473 on July 28, 2024 13:11.