Comments (2)
问题原因已经定位,正在想办法优化,原因主要是:
IRCShell插件加载过程中的一些好友相关的操作非常消耗性能,导致程序处理占用长的时间,影响了正常的接收消息(心跳)处理,导致服务端认为登录异常邀请重新登录
解决的思路:
1、把接收消息(心跳)处理延后到插件全部加载完成再执行
2、进一步优化插件加载过程中部分操作的执行效率
from mojo-weixin.
已经针对第1点解决思路(把接收消息处理延后到插件全部加载完成再执行)进行了代码调整
可以使用最新github代码继续测试看看,关于如何使用github最新代码测试可以参考FAQ:
https://github.com/sjdy521/Mojo-Weixin/blob/master/FAQ.md#3-如何使用github上最新的代码进行测试
from mojo-weixin.
Related Issues (20)
- 运行一段时间报错
- 发送消息失败。。 HOT 1
- 如何确定好友的唯一性? HOT 4
- [warn] 检测到该账号有其他运行中的客户端(pid:1), 请先将其关闭
- cpanm - command not found - macOS, perl 5.28 HOT 6
- 给好友发送消息,好友名字是中文时候发送失败,命令行显示error。是编码问题么,mojo用什么编码? HOT 1
- 发送位于本地机器中的图片 HOT 2
- 怎么通过C++程序关闭mojo-weixin?? HOT 8
- 有没有办法实现在群里@某人 HOT 2
- 日志中出现很多warn
- 消息上报回复 发送图片 url 模式 出错 HOT 8
- 读取客户端二维码失败 HOT 2
- utf8 乱码 HOT 3
- Openwx 开启3000端口 无法访问 HOT 2
- 二维码上传后报错
- 大佬,dockerhub说明里面的donate图裂了
- 请问这个项目,是不是也不可以登录了? HOT 2
- 每天凌晨自动退出登录? HOT 1
- 现在是不是不能用了,网页版微信登陆不了
- 无法perl xxx.pl启动,可以帮忙看下么 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mojo-weixin.