Commit d4effba
committed
Fix double-click required to stop Redis queue workflows
Don't clear the .job_id file immediately after calling cancel_job().
This allows get_workflow_status() to see the "canceled" state and
correctly report the workflow as stopped. Previously, clearing the
file caused a fallback to PID checking, which showed "running" if
commands were still executing.
https://claude.ai/code/session_013VFNJ1Sznugpony3r2Mgxt1 parent 55b461d commit d4effba
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
0 commit comments