[object Object]

← back to Exo

add back listen and cleanup tasks

8114a79ede9e58b773684de998c1047f7a4a9916 · 2024-09-04 14:53:38 +0100 · Alex Cheema

Files touched

Diff

commit 8114a79ede9e58b773684de998c1047f7a4a9916
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Wed Sep 4 14:53:38 2024 +0100

    add back listen and cleanup tasks
---
 exo/networking/udp_discovery.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exo/networking/udp_discovery.py b/exo/networking/udp_discovery.py
index 6817ce8b..0b66e871 100644
--- a/exo/networking/udp_discovery.py
+++ b/exo/networking/udp_discovery.py
@@ -50,8 +50,8 @@ class UDPDiscovery(Discovery):
   async def start(self):
     self.device_capabilities = device_capabilities()
     self.broadcast_task = asyncio.create_task(self.task_broadcast_presence())
-    # self.listen_task = asyncio.create_task(self.task_listen_for_peers())
-    # self.cleanup_task = asyncio.create_task(self.task_cleanup_peers())
+    self.listen_task = asyncio.create_task(self.task_listen_for_peers())
+    self.cleanup_task = asyncio.create_task(self.task_cleanup_peers())
 
   async def stop(self):
     if self.broadcast_task: self.broadcast_task.cancel()

← dcb3ac76 test kill pids  ·  back to Exo  ·  more robust discovery / peer handling. now we track if the s 355c5799 →