← back to Exo
add id to set
c97da5480f32ece391270dc921e60bdf24c8c957 · 2024-09-04 15:48:59 +0100 · Alex Cheema
Files touched
M exo/orchestration/standard_node.py
Diff
commit c97da5480f32ece391270dc921e60bdf24c8c957
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Wed Sep 4 15:48:59 2024 +0100
add id to set
---
exo/orchestration/standard_node.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exo/orchestration/standard_node.py b/exo/orchestration/standard_node.py
index 5f76d658..cf1a222a 100644
--- a/exo/orchestration/standard_node.py
+++ b/exo/orchestration/standard_node.py
@@ -343,7 +343,7 @@ class StandardNode(Node):
if DEBUG >= 2: print(f"Collecting topology {max_depth=} {visited=}")
prev_visited = visited.copy()
- visited.update(self.id)
+ visited.add(self.id)
visited.update(p.id() for p in self.peers)
for peer in self.peers:
← 80c48b9e update visited with self.id, timeout on collecting topology
·
back to Exo
·
better logs around peer connecting / disconnecting 8cb678e7 →