Skip to content

Commit 96b0c94

Browse files
authored
Merge pull request #5 from riniangreani/fix_canfar_running_sessions
Remove cancel_flow_run
2 parents ff4dbf9 + 693ac56 commit 96b0c94

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

automation/canfar_polling.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ async def _fetch_prefect_completed_flow_runs(limit: int = 200):
111111
async def _fail_flow_run(flow_run_id, reason: str) -> None:
112112
"""Mark the specified flow-run as FAILED with the given reason/message."""
113113
async with get_client() as client:
114-
await client.cancel_flow_run(flow_run_id=flow_run_id)
115114
await client.set_flow_run_state(
116115
flow_run_id=flow_run_id,
117116
state=Failed(message=reason),

0 commit comments

Comments
 (0)