-
-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: 优化 pydantic validation 流程 #2841
Labels
enhancement
New feature or request
Comments
yanyongyu
added
enhancement
New feature or request
and removed
bug
Something isn't working
labels
Jul 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
操作系统
Linux
Python 版本
3.12.0
NoneBot 版本
2.3.2
适配器
Onebot v11
协议端
gensokyo
描述问题
响应器异常超高占用,cpu占用与响应器数量,消息量成正相关(二次函数级别)
check_field_type函数占用异常高
6个响应器,每秒20条
将全部check_field_type注释掉后,cpu占用从50%降到8%
复现步骤
创建很多响应器,同时收消息,消息越多cpu占用越多,最终假死
期望的结果
希望cpu占用异常修复
截图或日志
No response
The text was updated successfully, but these errors were encountered: