Hi!
I have some questions regarding queues... if I have 4 queues: [high, medium, low, default] and I have 2 process running:
php artisan queue:work --queue=high,default
php artisan queue:work
What I need is something like this:
php artisan queue:work --queue= [ main priority always: "high". later, take remaining in FIFO order]
php artisan queue:work --queue= [ take "medium" and "low" first, and later take remaining in FIFO order]
Its possible? the idea is to have a process only for the highest priority (and if its idle, take the next in FIFO) and the second process is take "medium" first and "low" in second, and left "default" and "high" in the same "third" priority, as I have an exclusive process taking "high"
thanks! :D
Hi Punchi,
Have a look at the manual here Queue Priorities which allows you to set the order in which the queues get executed Good luck
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community