Skip to content

boss.fail(job.id, err) and inconsistent job retries #373

Answered by timgit
pulpdood asked this question in Q&A
Discussion options

You must be logged in to vote

If you are using work(), it will automatically call fail() or complete() internally. Once a job reaches complete state, it can't be marked as failed.

Would you add more code to examples to show how you got this job id?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pulpdood
Comment options

@timgit
Comment options

@pulpdood
Comment options

@timgit
Comment options

@pulpdood
Comment options

Answer selected by pulpdood
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