Actually use the log :)

This commit is contained in:
maciejhirsz
2018-07-26 15:28:37 +02:00
parent 2177c09fc7
commit 3a421a291f
+3
View File
@@ -38,8 +38,11 @@ function logClients() {
const node = incomingTelemetry.clients.size;
console.log(`[System] ${feed} open telemetry connections; ${node} open feed connections`);
setTimeout(logClients, 5000);
}
logClients();
telemetryFeed.on('connection', (socket: WebSocket) => {
aggregator.addFeed(new Feed(socket));