|
|
@ -543,12 +543,12 @@ async function afterLogin(socket, user) {
|
|
|
|
let monitorList = await sendMonitorList(socket)
|
|
|
|
let monitorList = await sendMonitorList(socket)
|
|
|
|
|
|
|
|
|
|
|
|
for (let monitorID in monitorList) {
|
|
|
|
for (let monitorID in monitorList) {
|
|
|
|
await sendHeartbeatList(socket, monitorID);
|
|
|
|
sendHeartbeatList(socket, monitorID);
|
|
|
|
await sendImportantHeartbeatList(socket, monitorID);
|
|
|
|
sendImportantHeartbeatList(socket, monitorID);
|
|
|
|
await Monitor.sendStats(io, monitorID, user.id)
|
|
|
|
Monitor.sendStats(io, monitorID, user.id)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
await sendNotificationList(socket)
|
|
|
|
sendNotificationList(socket)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async function getMonitorJSONList(userID) {
|
|
|
|
async function getMonitorJSONList(userID) {
|
|
|
|