txlyre 2 years ago
parent
commit
dccee75603
1 changed files with 1 additions and 1 deletions
  1. 1 1
      byafn.py

+ 1 - 1
byafn.py

@@ -205,7 +205,7 @@ async def read(peer, size):
 
 async def cooldown(peer, out=True):
   if out:
-    await asyncio.sleep(RATELIMIT)
+    await asyncio.sleep(RATELIMIT + 0.01)
   else:
     if time.time() - peer.last_message_in_ts < RATELIMIT:
       raise Error(f'rate limit (={RATELIMIT}s.) exceeded for incoming messages')