You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi @aliabbasrizvi from what I can see in your log, it's pointing to bull package, no bullmq. You may be using bull and bullmq pointing to the same queue. This is not recommended as bullmq has many other changes that are not compatible with bull anymore.
Version
v5.21.2
Platform
NodeJS
What happened?
We are noticing an issue where we add a job with ID and set
removeOnFail
totrue
andremoveOnComplete
totrue
as well.What we notice is that sometimes the job fails and keeps occupying a key in Redis.
When we look up data for the key we see the following:
As a result, subsequent jobs with same ID are not getting added to the queue thereby causing issues for us.
When we look up jobs using
getJobs
(https://api.docs.bullmq.io/classes/v5.Queue.html#getJobs), the failed job above doesn't appear.Could you help us understand why this is happening and how we could avoid this?
How to reproduce.
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: