Skip to content

Commit 8c6acd7

Browse files
committed
fix: In the execution details, the execution time of the loop node is displayed incorrectly
1 parent e6c324d commit 8c6acd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/application/flow/step_node/loop_node/impl/base_loop_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def loop(workflow_manage_new_instance, node: INode, generate_loop):
205205
node.context['loop_answer_data'] = loop_answer_data
206206
node.context["index"] = current_index
207207
node.context["item"] = current_index
208+
node.context['run_time'] = time.time() - node.context.get("start_time")
208209

209210

210211
def get_write_context(loop_type, array, number, loop_body):

0 commit comments

Comments
 (0)