mirror of https://github.com/langgenius/dify.git
Release the _graph_runtime_state reference in stop_listen() to allow Python GC to reclaim memory immediately after request completion. Without this fix, the reference chain: AppQueueManager._graph_runtime_state -> GraphRuntimeState -> Graph -> Node -> graph_runtime_state prevents garbage collection until the entire pipeline object is released, causing memory to accumulate under high concurrency. Fixes #30183 Signed-off-by: SherlockShemol <shemol@163.com> |
||
|---|---|---|
| .. | ||
| advanced_chat | ||
| agent_chat | ||
| chat | ||
| common | ||
| completion | ||
| pipeline | ||
| workflow | ||
| __init__.py | ||
| base_app_generate_response_converter.py | ||
| base_app_generator.py | ||
| base_app_queue_manager.py | ||
| base_app_runner.py | ||
| exc.py | ||
| message_based_app_generator.py | ||
| message_based_app_queue_manager.py | ||
| workflow_app_runner.py | ||