From 4013bf977f8c48a32bfbb363e0bdccf1817cefa6 Mon Sep 17 00:00:00 2001 From: meltland Date: Thu, 27 Mar 2025 19:56:42 -0400 Subject: ratelimit 0.15 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 0556ffd..8aad57f 100644 --- a/main.py +++ b/main.py @@ -162,7 +162,7 @@ async def handler(websocket): if not ratelimits[str(websocket.id)] <= time.time(): await websocket.send(util.error("ratelimited", None)) continue - ratelimits[str(websocket.id)] = time.time() + 0.35 + ratelimits[str(websocket.id)] = time.time() + 0.15 try: r = json.loads(message) except: -- cgit 1.4.1-2-gfad0