dashboard
repositories
filestore
activity
search
login
admin
/
command-center-dashboard
forked from
drone/command-center-dashboard
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-...
chenyao
2025-04-17
2ddedb48ebcb4952e57aefe2fa0b2ba8094ea4c0
[~admin/command-center-dashboard.git]
/
src
/
mqtt
/
config.js
1
2
3
4
5
6
7
8
export const OPTIONS = {
clean: true, // true: 清除会话, false: 保留会话
connectTimeout: 10000, // mqtt 超时时间
resubscribe: true, // 断开重连后,再次订阅原订阅
reconnectPeriod: 10000, // 重连间隔时间: 5s
keepalive: 1, // 心跳间隔时间:1s
}