mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 06:31:12 +00:00
Clean up shard channel when shard disconnects (#411)
This commit is contained in:
@@ -439,6 +439,8 @@ impl InnerLoop {
|
||||
}
|
||||
}
|
||||
FromShardWebsocket::Disconnected => {
|
||||
self.shard_channels.remove(&shard_conn_id);
|
||||
|
||||
// Find all nodes associated with this shard connection ID:
|
||||
let node_ids_to_remove: Vec<NodeId> = self
|
||||
.node_ids
|
||||
|
||||
Reference in New Issue
Block a user