Member Since 3 Years Ago
2,920 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Replied to Horizon Doesn't Read Jobs From Redis
Hi, thanks for the follow up. I actually have the
php artisan horizon command running, but the dashboard still shows 0 jobs.
I subsequently installed Horizon within the business' Laravel project (ie the project that actually dispatches the jobs e.g. emails), and it works. I see the queue stats.
I think I misunderstood the docs and thought Horizon was just a queue monitor that I could install in its own project and see the status of queues from multiple servers. So can you confirm if Horizon would only work when installed within the Laravel project that dispatches the jobs?
Awarded Best Reply on Retrieving Client Credentials Grant Token Returns 401 Unauthorized
Project abandoned. Ignore.
Project abandoned. Ignore.
Started a new Conversation Horizon Doesn't Read Jobs From Redis
I need some guidance please. I've read all the Horizon-related questions but I still can't pinpoint the source of my issue.
I have Horizon installed on one server, redis-server on another and another Laravel project for my users on a third server.
The Horizon dashboard is active. In my current setup I didn't setup supervisor as yet, but I do have the horizon worker running.
On the Horizon project, my horizon.php:
'environments' => [ 'production' => [ 'supervisor-1' => [ 'connection' => 'redis', 'queue' => ['default', 'prods'], 'balance' => 'simple', 'processes' => 10, 'tries' => 1, ], ], 'local' => [ 'supervisor-1' => [ 'connection' => 'redis', 'queue' => ['default', 'tests'], 'balance' => 'simple', 'processes' => 3, 'tries' => 1, ], ], ],
...my queue.php contains:
'redis' => [ 'driver' => 'redis', 'connection' => 'default', 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90, 'block_for' => null, ],
and the .env has
In my other Laravel app from where the jobs are dispatched, the queue.php and .env contain the same snippets as above. In this app, I have the queue worker running as
php artisan queue:work redis
However, the Horizon dashboard always shows 0 jobs.
I'd be happy to share any other details if anyone is able to point me in at least a general direction.