1 year ago

#167103

test-img

Jamie

Laravel horizon processing jobs but not visible

I'm using Laravel forge and have setup Horizon for processing jobs.

The jobs are being processed I can see that in the forge logs. However, the jobs are not visible in my horizon dashboard. I can see that horizon is active, everything looks fine but they just don't show up.

enter image description here

enter image description here

My horizon config file is pretty basic:

'environments' => [
    'prod' => [
        'supervisor-1' => [
            'connection' => 'redis',
            'queue' => ['default'],
            'balance' => 'simple',
            'processes' => 20,
            'tries' => 1,
        ],
    ],

    'local' => [
        'supervisor-1' => [
            'connection' => 'redis',
            'queue' => ['default'],
            'balance' => 'simple',
            'processes' => 3,
            'tries' => 1,
        ],
    ],
],

The jobs are being dispatched on the default queue.

When I look into my failed_jobs table I see records showing up, but not in my horizon dashboard!

What could be wrong here? I already have restarted server/horizon/nginx. But nothing seems to work.

php

laravel

laravel-horizon

0 Answers

Your Answer

Accepted video resources