Skip to content

Commit 49faaaf

Browse files
committed
Revert "Fix double-click required to stop Redis queue workflows"
This reverts commit d4effba.
1 parent d4effba commit 49faaaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/workflow/WorkflowManager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ def stop_workflow(self) -> bool:
184184
if job_id:
185185
success = self._queue_manager.cancel_job(job_id)
186186
if success:
187-
# Don't clear job_id here - let get_workflow_status() see the
188-
# "canceled" state. The file is cleaned up when the job expires.
187+
self._queue_manager.clear_job_id(self.workflow_dir)
189188
return True
190189

191190
# Fallback: stop local process

0 commit comments

Comments
 (0)