Laravel-Queue-Monitor
Laravel-Queue-Monitor copied to clipboard
listen to JobPushed event for Horizon
Listen to the Laravel\Horizon\Events\JobPushed
event if the Horizon is installed
I'm working on a project that uses Horizon to manage their queues and monitor jobs for developers and uses the Laravel-Queue-Monitor to monitor jobs for the end-user. the issue happened when the developer retried the failed job from the Horizon interface, the new job did not monitor because Horizon fires the JobPushed
event instead of the JobQueued
event.