Im having a bit of trouble with getting my queues to work on AWS Elastic beanstalk. I have configured supervisor with the following config:
[program:laravel-worker] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan queue:work database --sleep=3 --tries=2 --daemon autostart=true autorestart=true numprocs=1 redirect_stderr=true stdout_logfile=/var/www/html/storage/logs/laravel.log stopwaitsecs=3600
This config isn't the problem as the daemon runs with no errors:
sudo supervisorctl status
laravel-worker:laravel-worker_00 RUNNING pid 8189, uptime 0:22:47
Im really not sure whats going on as if i SSH into the server and run:
queue:work database --sleep=3 --tries=2 --daemon it listens but picks nothing up if i dispatch something to the queue.
This all works fine on my local.
Any help would be great!