-
Notifications
You must be signed in to change notification settings - Fork 702
Description
Horizon Version
5.24.5
Laravel Version
10.48.12
PHP Version
8.3.1
Redis Driver
Predis
Redis Version
2.2.2
Database Driver & Version
No response
Description
A bit of an edge-case here, but I have duplicate workers that spin up which have the same configuration - supervisor and horizon.
I noticed that if I run horizon:pause on worker-1, then spin up a new worker (worker-2) horizon:status still says "Paused". However, the Horizon web dashboard correct shows the "play" icon for worker-2 and "paused" icon for worker-1.
I'm glad to dig into the code, but don't have time now. So I wanted to get this tracked somewhere. My guess is the logic the horizon:status command uses to check status is not the same as the logic the web dashboard uses.
I've attached some screenshots for a visual diff of the issue where the web dashboard show the status correctly, but CLI does not.
Steps To Reproduce
- Start two identical workers with the same supervisor and horizon config
- Run
horizon:pauseon one - Start the other worker
- Run
horizon:statuson the other

