Improve cpu and memory chart in control panel

This commit is contained in:
syuilo
2018-08-19 03:32:01 +09:00
parent 667b18fe24
commit c2b882a5d7
5 changed files with 26 additions and 18 deletions

View File

@ -22,7 +22,10 @@ export default function(request: websocket.request, connection: websocket.connec
body: statsLog
}));
});
ev.emit('requestServerStatsLog', msg.id);
ev.emit('requestServerStatsLog', {
id: msg.id,
length: msg.length
});
break;
}
});