txlyre 2 년 전
부모
커밋
dccee75603
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')