From 001ff55980daac48bc854045044625f32d2c0599 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 18 Oct 2022 12:21:10 +0200 Subject: [PATCH] small change to post_rate_limit (cuz it catches failed submissions) --- files/helpers/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 0ba4e10a5..c0b679c86 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -313,7 +313,7 @@ EMOJI_MARSEYS = True EMOJI_SRCS = ['files/assets/emojis.json'] PIN_LIMIT = 3 -POST_RATE_LIMIT = '1/second;2/minute;10/hour;50/day' +POST_RATE_LIMIT = '10/hour;50/day' POST_TITLE_LENGTH_LIMIT = 500 # do not make larger than 500 without altering the table POST_TITLE_HTML_LENGTH_LIMIT = 1500 # do not make larger than 1500 without altering the table POST_BODY_LENGTH_LIMIT = 20000 # do not make larger than 20000 without altering the table