I my apps in queue.php I have set:
'default' => env('QUEUE_DRIVER', 'rabbitmq'),
this is proper for most jobs in app, but i would like to use also 'database' driver and add jobs to postgresql db.
It works of course if I change default setting to:
'default' => env('QUEUE_DRIVER', 'database'),
But then rabbitmq doesn't work.
I don't know how to use other 'QUEUE_DRIVER' than default?
I would like to use both for different jobs.
It doesn't works:
php artisan queue:listen database
because there is nothing there.
I will be glad for any help.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire