Non-default queues and workers

Today we were trying to setup a queues, using 5 workers. We found that, when a job is dispatched to a non-standard queue, it is not "picked up" by the workers (which are launched w/o --queue switch).

I assume worker will only pickup the tasks for non-default queue, if that queue is specified in the "--queue" switch for the worker process, am I correct? The documentation says, that specifying a queue in the --queue switch will just increase the priority of that queue:

> ... since the Laravel queue worker allows you to specify which queues it should process by priority. For example, if you push jobs to a high queue, you may run a worker that gives them higher processing priority:

php artisan queue:work --queue=high,default


So its a bug in the docs?

  • 3 days ago