mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-21 03:12:10 +08:00
日志刷新频率调制1s
This commit is contained in:
parent
23fde7cf45
commit
d65ba4cb46
@ -112,9 +112,10 @@ setInterval(() => {
|
||||
body: data
|
||||
});
|
||||
});
|
||||
delete consoleBuffer[serverName]
|
||||
consoleBuffer[serverName] = "";
|
||||
}
|
||||
}, 1000);
|
||||
}, 1100);
|
||||
//控制台标准输出流
|
||||
serverModel.ServerManager().on('console', (data) => {
|
||||
let server = serverModel.ServerManager().getServer(data.serverName);
|
||||
|
Loading…
Reference in New Issue
Block a user