How to listen to the entire queue in laravel?

laravel 5.4 + redis

If I use php artisan queue:listen, it will listen on the default queue.
If I point the queue to php artisan queue:listen --queue a, then there will only be a queue a.
Is there anyway to listen to the entire queue in laravel 5.4 if there are many queues?

+4
source share
1 answer

I am afraid that you cannot listen to all the available queues without indicating which ones; however, you can use the option --queuefor multiple queues, for example:

php artisan queue:listen --queue a,b,c
+1
source

Source: https://habr.com/ru/post/1676552/


All Articles