分享管理修复bug,210历史记录功能开发

This commit is contained in:
fengerli
2025-08-09 17:59:09 +08:00
parent c0bb2bcd9c
commit 0d13f84744
9 changed files with 70 additions and 37 deletions

View File

@ -191,7 +191,8 @@ class MqttClient {
try {
const connectOptions = {
timeout: 4,
timeout: 10, // 增加连接超时时间,应对网络波动
keepAliveInterval: 30, // 明确设置心跳间隔为30秒
userName: this.options.username,
password: this.options.password,
useSSL: false,