Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary authored and Gary committed Dec 15, 2024
2 parents b69ab7f + cfedcec commit 6625706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exo/orchestration/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ async def periodic_topology_collection(self, interval: int):
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}")
Expand Down

0 comments on commit 6625706

Please sign in to comment.