-
Notifications
You must be signed in to change notification settings - Fork 413
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
[Bug]: Queue.clean on delayed
job is not working
#2124
Comments
I think this works as designed actually, has to do with the grace period: https://github.com/taskforcesh/bullmq/blob/master/tests/test_clean.ts#L202 |
Thank you for the quick reply, I've tried setting the grace period to 0, didn't help, the job is remains there. |
Can you write a test case that does not pass? this one does: |
Version
v4.x.0
Platform
NodeJS
What happened?
Cleaning all delayed jobs is not working, it returns an empty array (which should contain removed job ids).
Related to felixmosh/bull-board#615
How to reproduce.
1 min
queue.clean(500, 1000, 'delayed')
on the queue after few secs.Code of Conduct
The text was updated successfully, but these errors were encountered: