txlyre %!s(int64=2) %!d(string=hai) anos
pai
achega
f4bb046748
Modificáronse 1 ficheiros con 1 adicións e 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)