feat(mem_monitor): 禁用内存监控功能

This commit is contained in:
Windpicker-owo
2025-12-08 12:08:56 +08:00
parent 071a160da9
commit 084192843b

View File

@@ -101,7 +101,7 @@ _monitor_thread: threading.Thread | None = None
_stop_event: threading.Event = threading.Event() _stop_event: threading.Event = threading.Event()
# 环境变量控制是否启用,防止所有环境一起开 # 环境变量控制是否启用,防止所有环境一起开
MEM_MONITOR_ENABLED = True MEM_MONITOR_ENABLED = False
def start_tracemalloc(max_frames: int = 25) -> None: def start_tracemalloc(max_frames: int = 25) -> None: