laravel 5.4 + redis
If I use php artisan queue:listen
, it will listen the default queue.
If I specify the queue by php artisan queue:listen --queue a
then only the queue a will be listen.
Is there anyway to listen all queue in laravel 5.4 if there are many queues?
I am afraid you cannot listen to all available queues without specifying which ones; you can, however, use the --queue
parameter for multiple queues, eg,:
php artisan queue:listen --queue a,b,c
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.