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
Jobs with attempts > 0 have different priority? #1755
Comments
It probably has not do with the number of attempts, but rather with the retry. I found an issue in the retry script that is moving jobs back to the wait queue but ignoring the priority. |
Is there a date when this is going to be addressed? |
I cannot give a date. But PRs are welcome of course. |
Ok thanks. |
maybe works for your use case, there may be edge cases where it does not work as you expect. |
I tried it and it seems it doesn't work with delay either. |
🎉 This issue has been resolved in version 4.12.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
I noticed the following in our app:
I was expecting that jobs with priority 25 go before the other ones with priority 50, even if the ones with priority 25 have attempted once or more.
Which is the correct behaviour?
Bull version
v3.14.0
The text was updated successfully, but these errors were encountered: