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 'test' of http://139.196.74.78:10010/r/drone/command-center-da...
chenyao
2025-04-21
2a45e8331f65e4fc6dee2fba898bfbeaa01b0f5c
[~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
}