Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

KeepAlive timeout如何解决? #1166

Open
kirinsky opened this issue Aug 14, 2020 · 3 comments
Open

KeepAlive timeout如何解决? #1166

kirinsky opened this issue Aug 14, 2020 · 3 comments

Comments

@kirinsky
Copy link

开几个小时就出现:mqtt rpc client checkKeepAlive error timeout for 120000
看了源码,超时就关闭了

无缘无故为什么会超时呢?这个问题应怎么解决呢?

@whtiehack
Copy link
Contributor

win10问题.暂时无解

@sss316
Copy link

sss316 commented Aug 20, 2020

这种情况我也碰到过,大多数是代码执行超时,
建议文件读写,超大循环,数据库操作都使用异步操作,及时响应客户端请求,告诉客户端server忙碌,server加载中,server处理中等。

@wangkunmeng
Copy link

QQ pomelo交流群给了一个mqttClient.js的优化方案
image图未截完全

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants