We have multiple jobs in our laravel application. Currently all jobs are queued at once and they execute one by one. I want this particular job to execute at low priority it means if anyother job comes after that job should be execute first.
BulkPdfPrintLabel::withChain([
new MergeLabel($filepath, $manifest_id, $last, $user_id, $user_type)
])->dispatch($consignments, $last, $manifest_id, $user_id, $user_type, $filepath);
use this code instead:
update
then run this command to set high priority to your default queue:
reference laravel queue