laravel-elasticbeanstalk-queue-worker
laravel-elasticbeanstalk-queue-worker copied to clipboard
Not working with laravel 9: No queue.
trafficstars
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
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):
- IS_WORKER = true
- QUEUE_CONNECTION = database
- queueAnyNameYouLike = database
Then optionally you can add more variables to configure your queue:
- AnyNameYouLikeTries = 10
- AnyNameYouLikeSleep = 4
- AnyNameYouLikeNumProcs = 2
- AnyNameYouLikeStartSecs = 2
- AnyNameYouLikeDelay = 1