瀏覽代碼

fix: retry log running error (#13472)

Co-authored-by: Novice Lee <novicelee@NoviPro.local>
tags/1.0.0
Novice 8 月之前
父節點
當前提交
c00e7d3f65
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      api/core/workflow/graph_engine/graph_engine.py

+ 2
- 2
api/core/workflow/graph_engine/graph_engine.py 查看文件

@@ -648,7 +648,7 @@ class GraphEngine:
retries += 1
route_node_state.node_run_result = run_result
yield NodeRunRetryEvent(
id=node_instance.id,
id=str(uuid.uuid4()),
node_id=node_instance.node_id,
node_type=node_instance.node_type,
node_data=node_instance.node_data,
@@ -663,7 +663,7 @@ class GraphEngine:
start_at=retry_start_at,
)
time.sleep(retry_interval)
continue
break
route_node_state.set_finished(run_result=run_result)

if run_result.status == WorkflowNodeExecutionStatus.FAILED:

Loading…
取消
儲存