mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-01 12:27:59 +00:00
Broadcast node count on disconnect
This commit is contained in:
@@ -56,6 +56,8 @@ export default class Aggregator {
|
||||
|
||||
chain.events.on('disconnect', (count: number) => {
|
||||
if (count !== 0) {
|
||||
this.feeds.broadcast(Feed.addedChain(chain));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user