fix: release graph_runtime_state reference to prevent memory leak under high load (#30236)

Signed-off-by: SherlockShemol <shemol@163.com>
This commit is contained in:
Shemol 2025-12-29 10:35:47 +08:00 committed by GitHub
parent b71a0d3f04
commit d9cecabe93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class AppQueueManager:
"""
self._clear_task_belong_cache()
self._q.put(None)
self._graph_runtime_state = None # Release reference to allow GC to reclaim memory
def _clear_task_belong_cache(self) -> None:
"""