summary refs log tree commit diff
path: root/main.py
diff options
context:
space:
mode:
authormeltland <[email protected]>2025-03-27 19:56:42 -0400
committermeltland <[email protected]>2025-03-27 19:56:42 -0400
commit4013bf977f8c48a32bfbb363e0bdccf1817cefa6 (patch)
tree005f9dd9f03f3622eb225c971c51137878945d4e /main.py
parent56294790fc7535b1871da98bc24a6cb028508ff9 (diff)
ratelimit 0.15
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
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: