How to add more attempts in a job
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 858
- PR merge metrics
- No merged PRs in 30d
Description
Hello, maybe someone can help me with that questions ...
Would like to know how can add more attempts to a job based on the flow
First I create my job with 3 attempts....
After... the work fail 2 times but based on some event I need to add 1 attempt more to my job.
My question is how to get the current max attempts and add x more attempts, that is because if the event happens again need add 1 attempt more
Second question is how to fail a job with no more attempts;
Regards
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named in the issue. Start by locating Kue's job-attempt and failure-handling entry points, then determine whether attempts can be increased after failures and how a job is marked failed when none remain; done requires resolving both requested behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, redis
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100