fix: ops trace slow db (#5812)

pull/5819/head
Joe 2 years ago committed by GitHub
parent 71bcf75d9a
commit b7b1396c51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save