mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: In the execution details, the execution time of the loop node is displayed incorrectly (#4479)
This commit is contained in:
parent
38eb915d3b
commit
9fc1809ea3
|
|
@ -205,6 +205,7 @@ def loop(workflow_manage_new_instance, node: INode, generate_loop):
|
|||
node.context['loop_answer_data'] = loop_answer_data
|
||||
node.context["index"] = current_index
|
||||
node.context["item"] = current_index
|
||||
node.context['run_time'] = time.time() - node.context.get("start_time")
|
||||
|
||||
|
||||
def get_write_context(loop_type, array, number, loop_body):
|
||||
|
|
|
|||
Loading…
Reference in New Issue