I am wondering how to setup multiple queues with Lumen?
I have setup the below
\Queue::pushOn('xmlApi','App\Eve\Api\Corp\CorpSheetLimited@fire',['corpID'=>$id['corporationID']]);
now i am attempting to process it with a queue worker below
php artisan queue:work xmlApi --daemon --sleep=3 --tries=3
when i push onto the queue with the below it processes no issues
\Queue::push('App\Eve\Api\Corp\CorpSheetLimited@fire',['corpID'=>$id['corporationID']]);
processing with
php artisan queue:work --daemon --sleep=3 --tries=3
Can you please advise
Aucun commentaire:
Enregistrer un commentaire