日志刷新频率调制1s

This commit is contained in:
suwings 2018-02-24 15:25:04 +08:00
parent 23fde7cf45
commit d65ba4cb46

View File

@ -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);