felixmosh / bull-board

🎯 Queue background jobs inspector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot clean unknown queue type 1000

Malyhindev opened this issue · comments

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);
}

Can you elaborate? I'm not sure how can I reproduce your issue.

Do you use bull or bullmq? Check that you are using the correct bull /bullmq adapter

Yes, I used bull and bullmqadapter. That's my fault. Thank you!

I have to add a check for that... recently there are many cases like this.