-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
clean all delayed jobs can finish on inconsistent state #294
Comments
I'm not sure regarding that, but sounds like bull should handle this... This lib calls bulls queue.clean, if it doesn't remove all the parts it is bull's bug. Wdyt? |
Ping? |
Hi @felixmosh I ran into this issue as well. It appears the only proper way to remove repeatable jobs is to use the I simply wrote something like this to fix my inconsistent state:
Also, on a side note: I think distinguishing delayed from repeating tasks would be kinda neat. In the meantime I enabled readOnlyMode for that queue until the delete methods can be trusted 👌 |
Thank you for the explanation, I'll review a possible solution soon 🙏🏼 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey, |
Hi @ThomasKoscheck this bug totally slip my eyes, can you explain how can I reproduce it? |
Thank you, I'll check if that is an issue of the lib or the board. |
any update? this behavior is also a bit strange for me |
Hi,
Maybe I'm wrong but I notice that if you clean all delayed jobs this doesn't remove repeatable jobs. This is not an expected behavior because if you ask to bull for repeatable jobs it returns your jobs but that repeatable will never run again because the delayed counterparts are deleted. I think this is an inconsistent state for bull,
I'm not sure here what is the best things to to, maybe one of these:
This make sense for you or just I don't understand well what happen inside bull ?
The text was updated successfully, but these errors were encountered: