txlyre hace 2 años
padre
commit
f4bb046748
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      byafn.py

+ 1 - 1
byafn.py

@@ -189,7 +189,7 @@ class Peer:
     self.send_lock = asyncio.Lock()
     self.receive_lock = asyncio.Lock()
     self.ticks = 0
-    self.last_message_ts = time.time()
+    self.last_message_ts = -1
 
 async def write(peer, data):
   peer.writer.write(data)