FoxxMD / laravel-elasticbeanstalk-queue-worker

MIT License
52 stars 13 forks source link

Not working with laravel 9: No queue. #17

Open Teglgaard opened 2 years ago

Teglgaard commented 2 years ago

Hi

Testing lead me to that command can not be executed since command today does not include queue name.

Line 9 in parse config thus has to get the queue changed. I have removed below line which causes it to work again. $connection$queueVal

MbahDjoe commented 2 years ago

Hi @Teglgaard, can you provide your env value for QUEUE_CONNECTION and the queue config as described in https://github.com/FoxxMD/laravel-elasticbeanstalk-queue-worker#add-queues? For the it to be working properly you need at least these 3 environment variables set (I use database queue connection as example, and AnyNameYouLike as queue name):

Then optionally you can add more variables to configure your queue: