You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have experimenting with the 'attempts' option while adding a job to a queue for sometime now. As per my understanding from bull documentation, the job is retried as many times as declared while adding after it has failed. So when we declare attempts : 3, the job should be tried 1+3(fresh attempts + reattempts) times if we consider it has been failing all the time.
Hi
I have experimenting with the 'attempts' option while adding a job to a queue for sometime now. As per my understanding from bull documentation, the job is retried as many times as declared while adding after it has failed. So when we declare attempts : 3, the job should be tried 1+3(fresh attempts + reattempts) times if we consider it has been failing all the time.
Official documentation : https://docs.bullmq.io/guide/retrying-failing-jobs
However, in the github docs it says something different : https://github.com/OptimalBits/bull/blob/develop/REFERENCE.md#queueadd
Could you please clarify how many times will a job get retried if attempt is 'n' ? and will those attempts include the fresh attempt as well?
The text was updated successfully, but these errors were encountered: