'Job stay in pending list after processed
I am running Laravel 8, horizon 5.4 After I initiate the job, it processes successfully as it should, but in the Horizon dashboard it stays pending list, it does not move to the completed or failed list, after timeout(60 minutes) it disappears from the pending list.
Horizon Dashboard (Pending List)
Horizon process status from terminal
Horizon status from Redis
Horizon Configuration
'local' => [
'supervisor-1' => [
'connection' => 'redis',
'queue' => [env('QUEUE_NAME','default')],
'balance' => 'simple',
'processes' => 3,
'tries' => 3,
],
],
Redis configuration in queue
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('QUEUE_NAME', 'default'),
'retry_after' => 90,
'block_for' => null,
],
Googled a lot with no luck, maybe I am not searching with the right keyword.
Thanks in advance
Solution 1:[1]
Wondering if you figured out the issue, I am at a similar place. My jobs never move out of pending status. When I click to view details it shows completed_at timestamp which means they were completed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | facebook-100003209134068 |