mardi 13 octobre 2020

How to execute laravel job at low priority?

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);


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3nUQP4e
via IFTTT

Aucun commentaire:

Enregistrer un commentaire