← back to Exo
change it back to collecting topology periodically even if peers dont change
7ac4004392f6406bd6a9559fae0bd477708f5a5e · 2024-12-17 17:32:18 +0000 · Alex Cheema
Files touched
M exo/orchestration/node.py
Diff
commit 7ac4004392f6406bd6a9559fae0bd477708f5a5e
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Tue Dec 17 17:32:18 2024 +0000
change it back to collecting topology periodically even if peers dont change
---
exo/orchestration/node.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exo/orchestration/node.py b/exo/orchestration/node.py
index e55e96c5..ebf9b673 100644
--- a/exo/orchestration/node.py
+++ b/exo/orchestration/node.py
@@ -519,8 +519,8 @@ class Node:
try:
did_peers_change = await self.update_peers()
if DEBUG >= 2: print(f"{did_peers_change=}")
+ await self.collect_topology(set())
if did_peers_change:
- await self.collect_topology(set())
await self.select_best_inference_engine()
except Exception as e:
print(f"Error collecting topology: {e}")
← 198308b1 more robust udp broadcast
·
back to Exo
·
add peer connection info to tinychat 2f0b543a →