fix(message_manager): 修复初始化方法中的格式问题

fix(message_repository): 将警告日志级别更改为调试
docs: 添加 MoFox Core 重构架构文档
This commit is contained in:
Windpicker-owo
2025-12-14 22:34:04 +08:00
parent dd0dd94e76
commit 962a50217d
3 changed files with 106 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ async def find_messages(
# 统一做上限保护,防止无限制查询导致内存暴涨
if limit <= 0:
capped_limit = SAFE_FETCH_LIMIT
logger.warning(
logger.debug(
f"find_messages 未指定 limit自动限制为 {capped_limit} 行以避免内存占用过高",
)
else: