mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 09:00:20 +00:00
✨ up(agent): 不间断上报信息为报警作准备
This commit is contained in:
1 parent
62fdf18fb7
commit
c7158a1458
7 files changed
+20
-65
No files matched your search
@@ -9,7 +9,7 @@
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.1/dist/semantic.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/main.css?v202012091024">
|
||||
<link rel="stylesheet" type="text/css" href="/static/main.css?v202012192326">
|
||||
<link rel="shortcut icon" type="image/png" href="/static/logo.png" />
|
||||
</head>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -227,11 +227,6 @@
|
||||
time: '2',
|
||||
position: 'top-center',
|
||||
});
|
||||
ws.send('track');
|
||||
setInterval(() => {
|
||||
ws.send('track');
|
||||
console.log('追加监控时间')
|
||||
}, 1000 * 60 * 6);
|
||||
}
|
||||
ws.onmessage = function (evt) {
|
||||
statusCards.servers = JSON.parse(evt.data)
|
||||
|
||||
Reference in new issue
Block a user