add full gc scheduler

This commit is contained in:
jxxghp
2025-09-08 10:49:09 +08:00
parent 704364061c
commit 481f1f9d30
3 changed files with 153 additions and 0 deletions

View File

@@ -364,6 +364,8 @@ class ConfigModel(BaseModel):
ENCODING_DETECTION_PERFORMANCE_MODE: bool = True
# 编码探测的最低置信度阈值
ENCODING_DETECTION_MIN_CONFIDENCE: float = 0.8
# 主动内存回收时间间隔分钟0为不启用
MEMORY_GC_INTERVAL: int = 30
# ==================== 安全配置 ====================
# 允许的图片缓存域名