|
@@ -1113,7 +1113,7 @@
|
|
|
const mqttOptions = {
|
|
|
keepalive: 30,
|
|
|
clean: true, //保留会话
|
|
|
- connectTimeout: 600000, // 超时时间
|
|
|
+ connectTimeout: 60000, // 超时时间
|
|
|
reconnectPeriod: 5000, // 重连间隔
|
|
|
clientId: uni.getStorageSync('token') + 'lab/function/data',
|
|
|
username: uni.getStorageSync('mqttUrl'),
|