From 2380f2c46712ced98953d6197f6748054652648d Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 16 Apr 2024 16:58:06 +0200 Subject: [PATCH] remove annoying ratelimit in shop --- files/routes/awards.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index a9cb965c2..792481fca 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -116,8 +116,6 @@ def buy_award(v, kind, AWARDS): @app.post("/buy/") -@limiter.limit('1/second', scope=rpath) -@limiter.limit('1/second', scope=rpath, key_func=get_ID) @limiter.limit("100/minute;200/hour;1000/day", deduct_when=lambda response: response.status_code < 400) @limiter.limit("100/minute;200/hour;1000/day", deduct_when=lambda response: response.status_code < 400, key_func=get_ID) @auth_required