From 86ae4ccc140b391763b0340dc6260dabe78c8a29 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 27 Feb 2022 00:00:46 +0200 Subject: [PATCH] 2/sec --- files/routes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 2e49d8f28..df3ba2ec7 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -892,7 +892,7 @@ def settings_name_change(v): return redirect(f"{SITE_FULL}/settings/profile") @app.post("/settings/song_change") -@limiter.limit("1/second;5/day") +@limiter.limit("2/second;10/day") @auth_required def settings_song_change(v): song=request.values.get("song").strip()