From cc60f73f45f1ca55942f1d724d6646c841c8c749 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 1 Dec 2021 20:48:04 +0200 Subject: [PATCH] sfdfsd --- files/routes/votes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index c6e3ae65e..3b3b574bd 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -63,7 +63,7 @@ def admin_vote_info_get(v): @app.post("/vote/post//") -@limiter.limit("5/second;60/minute;200/hour") +@limiter.limit("5/second;60/minute;600/hour") @auth_required @validate_formkey def api_vote_post(post_id, new, v): @@ -126,7 +126,7 @@ def api_vote_post(post_id, new, v): return "", 204 @app.post("/vote/comment//") -@limiter.limit("5/second;60/minute;200/hour") +@limiter.limit("5/second;60/minute;600/hour") @auth_required @validate_formkey def api_vote_comment(comment_id, new, v):