This commit is contained in:
LuiKlee
2025-12-13 16:40:00 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ _monitor_thread: threading.Thread | None = None
_stop_event: threading.Event = threading.Event()
# 环境变量控制是否启用,防止所有环境一起开
MEM_MONITOR_ENABLED = True
MEM_MONITOR_ENABLED = False
# 触发详细采集的阈值
MEM_ABSOLUTE_THRESHOLD_MB = 1024.0 # 超过 1 GiB
MEM_GROWTH_THRESHOLD_MB = 200.0 # 单次增长超过 200 MiB