laravel-elasticbeanstalk-queue-worker icon indicating copy to clipboard operation
laravel-elasticbeanstalk-queue-worker copied to clipboard

Better default for queue driver

Open FoxxMD opened this issue 9 years ago • 3 comments
trafficstars

Should we attempt to find the default queue driver specified in Laravel's /config/queue.php? Or throw an exception and force the user to explicitly set it?

FoxxMD avatar Nov 11 '16 16:11 FoxxMD

Hi, just stumbled upon your package, it really gave me a good starting point for my own solution.

I updated some configuration to be compatible with Laravel 5.7 (env('QUEUE_CONNECTION') instead of env('QUEUE_DRIVER')) and used config('queue.default') to parse the default queue driver. Be happy to send you pull request for the changes, if you are interested.

Let me know your thoughts on this approach, and once again, thanks for this package! :+1:

soham2008xyz avatar Feb 16 '19 08:02 soham2008xyz

Glad it helped! I'm happy to accept PRs as long as it doesn't break current functionality.

FoxxMD avatar Feb 20 '19 04:02 FoxxMD

please update the QUE_DRIVER with QUEUE_CONNECTION

basnetjiten avatar Jun 13 '20 16:06 basnetjiten