Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with laravel 9: No queue. #17

Open
Teglgaard opened this issue Oct 19, 2022 · 1 comment
Open

Not working with laravel 9: No queue. #17

Teglgaard opened this issue Oct 19, 2022 · 1 comment

Comments

@Teglgaard
Copy link

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
Copy link
Collaborator

MbahDjoe commented Oct 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants