Cannot clean unknown queue type 1000
Malyhindev opened this issue · comments
Malyhindev commented
error in bullMQ.ts:27
public async clean(jobStatus: JobCleanStatus, graceTimeMs: number): Promise {
await this.queue.clean(graceTimeMs, 1000, jobStatus);
}
need
public async clean(jobStatus: JobCleanStatus, graceTimeMs: number): Promise {
await this.queue.clean(graceTimeMs, jobStatus, 1000);
}
Felix Mosheev commented
Can you elaborate? I'm not sure how can I reproduce your issue.
Malyhindev commented
Felix Mosheev commented
Do you use bull or bullmq? Check that you are using the correct bull /bullmq adapter
Felix Mosheev commented
?
Malyhindev commented
Yes, I used bull and bullmqadapter. That's my fault. Thank you!
Felix Mosheev commented
I have to add a check for that... recently there are many cases like this.