fix(message_manager): 修复初始化方法中的格式问题
fix(message_repository): 将警告日志级别更改为调试 docs: 添加 MoFox Core 重构架构文档
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user