feat:内存监控开关

This commit is contained in:
jxxghp
2025-06-06 13:49:52 +08:00
parent e42d2baf8a
commit de4973a270
4 changed files with 42 additions and 18 deletions
+2
View File
@@ -247,6 +247,8 @@ class ConfigModel(BaseModel):
REPO_GITHUB_TOKEN: Optional[str] = None
# 大内存模式
BIG_MEMORY_MODE: bool = False
# 内存使用监控
MEMORY_MONITOR_ENABLE: bool = False
# 全局图片缓存,将媒体图片缓存到本地
GLOBAL_IMAGE_CACHE: bool = False
# 是否启用编码探测的性能模式