up(agent): 不间断上报信息为报警作准备

This commit is contained in:
naiba
2020-12-19 23:27:59 +08:00
parent fcbd564bff
commit ad4fedaa9b
7 changed files with 20 additions and 65 deletions

View File

@@ -164,11 +164,6 @@
time: '2',
position: 'top-center',
});
ws.send('track');
setInterval(() => {
ws.send('track');
console.log('追加监控时间')
}, 1000 * 60 * 6);
}
ws.onmessage = function (evt) {
const oldServers = statusCards.servers