diff --git a/files/routes/comments.py b/files/routes/comments.py index 736afd9bc..4edf58eaf 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -647,8 +647,8 @@ def api_comment(v): @app.post("/edit_comment/") -@limiter.limit("1/second;10/minute;20/hour;50/day") -@limiter.limit("1/second;10/minute;20/hour;50/day", key_func=lambda:f'{request.host}-{session.get("lo_user")}') +@limiter.limit("1/second;10/minute;100/hour;200/day") +@limiter.limit("1/second;10/minute;100/hour;200/day", key_func=lambda:f'{request.host}-{session.get("lo_user")}') @auth_required def edit_comment(cid, v):