diff options
author | meltland <[email protected]> | 2025-03-27 19:56:42 -0400 |
---|---|---|
committer | meltland <[email protected]> | 2025-03-27 19:56:42 -0400 |
commit | 4013bf977f8c48a32bfbb363e0bdccf1817cefa6 (patch) | |
tree | 005f9dd9f03f3622eb225c971c51137878945d4e /main.py | |
parent | 56294790fc7535b1871da98bc24a6cb028508ff9 (diff) |
ratelimit 0.15
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
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: |