rennokki / laravel-aws-eb

Ready-to-deploy configuration to run Laravel on AWS Elastic Beanstalk.
484 stars 130 forks source link

Queues #59

Closed mchumer closed 3 years ago

mchumer commented 3 years ago

Hello,

I have two questions.

1 - it's possible to use horizon when using multiple servers on a load balancer?

2 - I'm trying to start multiple queues with the command bellow but it doesn't work. It simply doesn't execute my jobs.

php artisan queue:work --sleep=3 --tries=3 --backoff=3 --timeout=3600 --max-time=3600 --queue=default, notifications, imports

Thank you

mchumer commented 3 years ago

Hello! Someone has the same problem?

rennokki commented 3 years ago

You can use Horizon on multiple servers with Load Balancer. It is using Redis and the jobs will be processed with deadlocks. I use it actively. 😅

mchumer commented 3 years ago

Ok. thank you.