Laravel 9: Why is my Job not being processed from the queue after using custom connection settings?
I've been working with Laravel 9 and trying to set up a custom queue connection to handle background jobs... I configured a new Redis connection in my `queue.php` configuration file like this: ```php 'redis_custom' => [ 'driver' => 'redis', 'connection' => 'default', 'queue' => 'custom_queue', 'retry_after' => 90, ], ``` However, when I dispatch a job to this custom queue using: ```php MyJob::dispatch()->onQueue('custom_queue'); ``` I'm working with an scenario where the jobs are not being processed at all. I checked the queue worker logs and I don't see any errors related to the jobs. The command I'm using to start the worker is: ```bash php artisan queue:work redis_custom ``` But it seems like the worker isn't picking up any jobs from `custom_queue`. I even tried running: ```bash php artisan queue:listen redis_custom ``` and I get the same result. I also verified that the jobs are being queued correctly by checking the Redis database, and they appear in the correct queue. What could be causing the worker to ignore the jobs? I've ensured that my `QUEUE_CONNECTION` in the `.env` file is set to `redis_custom`, but it still doesnβt seem to work. Any insights on how to troubleshoot this scenario would be greatly appreciated! I'm working on a CLI tool that needs to handle this. What's the best practice here? I'm coming from a different tech stack and learning Php. Thanks in advance!