felixmosh / bull-board

🎯 Queue background jobs inspector
MIT License
2.14k stars 342 forks source link

Cannot clean unknown queue type 1000 #695

Closed Malyhindev closed 4 months ago

Malyhindev commented 4 months ago

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

felixmosh commented 4 months ago

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

Malyhindev commented 4 months ago

example

felixmosh commented 4 months ago

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

felixmosh commented 4 months ago

?

Malyhindev commented 4 months ago

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

felixmosh commented 4 months ago

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