feat(encoding): update configuration to performance mode

This commit is contained in:
InfinityPacer
2024-11-27 13:52:17 +08:00
parent 916597047d
commit 2e7e74c803
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -219,8 +219,8 @@ class ConfigModel(BaseModel):
BIG_MEMORY_MODE: bool = False
# 全局图片缓存,将媒体图片缓存到本地
GLOBAL_IMAGE_CACHE: bool = False
# 是否启用编码探测的兼容模式
ENCODING_DETECTION_COMPATIBLE_MODE: bool = True
# 是否启用编码探测的性能模式
ENCODING_DETECTION_PERFORMANCE_MODE: bool = False
# 编码探测的最低置信度阈值
ENCODING_DETECTION_MIN_CONFIDENCE: float = 0.8
# 允许的图片缓存域名