Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discarded jobs stay in the same state #326

Closed
rileyai-dev opened this issue Dec 7, 2020 · 1 comment
Closed

Discarded jobs stay in the same state #326

rileyai-dev opened this issue Dec 7, 2020 · 1 comment

Comments

@rileyai-dev
Copy link

I don't know if it's an intended behavior, but IMHO a discarded job should have a "discarded" state and not stay in the same "delayed" state (I didn't test the other states). There should be an additional type...

@manast
Copy link
Contributor

manast commented Dec 15, 2020

As the documentation states, a discarded jobs just means it will not be retried in the case of failure: https://github.com/OptimalBits/bull/blob/develop/REFERENCE.md#jobdiscard

@manast manast closed this as completed Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants