mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
optimize db connections
This commit is contained in:
@ -57,6 +57,8 @@ class WorkflowAppRunner:
|
||||
):
|
||||
return
|
||||
|
||||
db.session.close()
|
||||
|
||||
# RUN WORKFLOW
|
||||
workflow_engine_manager = WorkflowEngineManager()
|
||||
workflow_engine_manager.run_workflow(
|
||||
|
||||
Reference in New Issue
Block a user