RomainLanz / adonis-bull-queue

Queue system based on BullMQ for AdonisJS
MIT License
121 stars 24 forks source link

Launching serveral queue listener command #48

Open rutonyru opened 1 month ago

rutonyru commented 1 month ago

Hi Romain,

Still working with your fantastic framework. As I tried to launch several queue:listener with the command (the two queues separated with a comma): node ace queue:listen --queue=zeendoc_documents,orderPaidTreatment The log is then : [09:51:11.253] INFO (65396): Queue [zeendoc_documents,orderPaidTreatment] processing started... But the two queue listeners don't work.

I had to change the command to : node ace queue:listen --queue=zeendoc_documents --queue=orderPaidTreatment And the log is then : [10:01:56.227] INFO (70360): Queue [zeendoc_documents] processing started... [10:01:56.229] INFO (70360): Queue [orderPaidTreatment] processing started...

Is it right ? And then, the readme instruction might be changed ?

Have a good day,

Antoine

RomainLanz commented 1 month ago

Hey @rutonyru! 👋🏻

This is a bug in Ace (https://github.com/adonisjs/v6-docs/issues/82). It is going to be fixed.