mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix: ops trace slow db (#5812)
This commit is contained in:
parent
71bcf75d9a
commit
b7b1396c51
|
@ -109,7 +109,6 @@ class LangFuseDataTrace(BaseTraceInstance):
|
|||
workflow_nodes_executions = (
|
||||
db.session.query(WorkflowNodeExecution)
|
||||
.filter(WorkflowNodeExecution.workflow_run_id == trace_info.workflow_run_id)
|
||||
.order_by(WorkflowNodeExecution.index.desc())
|
||||
.all()
|
||||
)
|
||||
|
||||
|
|
|
@ -102,7 +102,6 @@ class LangSmithDataTrace(BaseTraceInstance):
|
|||
workflow_nodes_executions = (
|
||||
db.session.query(WorkflowNodeExecution)
|
||||
.filter(WorkflowNodeExecution.workflow_run_id == trace_info.workflow_run_id)
|
||||
.order_by(WorkflowNodeExecution.index.desc())
|
||||
.all()
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user