diff --git a/Source/stats.js b/Source/stats.js index 94d9b13..4d21ca1 100644 --- a/Source/stats.js +++ b/Source/stats.js @@ -40,8 +40,6 @@ setInterval(()=>{ exports.ws_sended_packs = 0; exports.ws_recaived_packs = 0; exports.ws_total_packs = 0; - exports.mwse_rooms = 0; - exports.mwse_clients = 0; process.send({ core: "readstat", ws_writed_bytes: exports.ws_writed_bytes, @@ -60,4 +58,4 @@ process.on('message', stat => { { exports.others = stat.data; } -}) +}) \ No newline at end of file diff --git a/index.js b/index.js index e57a966..a6fc7d4 100644 --- a/index.js +++ b/index.js @@ -62,7 +62,9 @@ async function main() ws_total_bytes:e.ws_total_bytes, ws_sended_packs:e.ws_sended_packs, ws_recaived_packs:e.ws_recaived_packs, - ws_total_packs:e.ws_total_packs + ws_total_packs:e.ws_total_packs, + mwse_rooms: e.mwse_rooms, + mwse_clients: e.mwse_clients } }) }) diff --git a/script/index.html b/script/index.html index a1e59a1..4b08831 100644 --- a/script/index.html +++ b/script/index.html @@ -11,9 +11,6 @@
-
-

Active R1: 0 R2: 0

-