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> |
||
|---|---|---|
| .. | ||
| app_config | ||
| apps | ||
| entities | ||
| features | ||
| layers | ||
| task_pipeline | ||
| __init__.py | ||