From 8a8efeaf756b1a721654f5695e0b3d064561aec4 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 18 Oct 2022 06:51:08 -0500 Subject: [PATCH] ratelimiting: add 1/second to post ratelimit --- 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 d90dd1597..3c6e89a83 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 = '10/hour;50/day' +POST_RATE_LIMIT = '1/second;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