Alex Cheema преди 8 месеца
родител
ревизия
8163224765
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      exo/orchestration/standard_node.py

+ 1 - 1
exo/orchestration/standard_node.py

@@ -374,8 +374,8 @@ class StandardNode(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}")