mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-30 18:11:07 +00:00
Actually use the log :)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user