← back to Exo
fix print
b611d0a5e25f44eff08e8adf88a85997297308b9 · 2024-10-03 18:27:20 +0400 · Alex Cheema
Files touched
M exo/networking/udp/udp_discovery.py
Diff
commit b611d0a5e25f44eff08e8adf88a85997297308b9
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Thu Oct 3 18:27:20 2024 +0400
fix print
---
exo/networking/udp/udp_discovery.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exo/networking/udp/udp_discovery.py b/exo/networking/udp/udp_discovery.py
index c8ec3332..804bfe48 100644
--- a/exo/networking/udp/udp_discovery.py
+++ b/exo/networking/udp/udp_discovery.py
@@ -81,7 +81,6 @@ class UDPDiscovery(Discovery):
async def task_broadcast_presence(self):
if DEBUG_DISCOVERY >= 2:
print("Starting task_broadcast_presence...")
- print(f"\nBroadcast message: {message}")
while True:
# Explicitly broadcasting on all assigned ips since broadcasting on `0.0.0.0` on MacOS does not broadcast over
@@ -94,6 +93,7 @@ class UDPDiscovery(Discovery):
"device_capabilities": self.device_capabilities.to_dict(),
"priority": 1, # For now, every interface has the same priority. We can make this better by prioriting interfaces based on bandwidth, latency, and jitter e.g. prioritise Thunderbolt over WiFi.
})
+ if DEBUG_DISCOVERY >= 3: print(f"Broadcasting presence at ({addr}): {message}")
transport = None
try:
← ac6f1bed add a priority to broadcast messages where the broadcaster c
·
back to Exo
·
await node process_prompt with timeoout 9223993e →