From ce9ae214d80c6490d9ab8398636371081259da11 Mon Sep 17 00:00:00 2001 From: Deimos Date: Thu, 21 May 2020 19:24:55 -0600 Subject: [PATCH] Adjust posting rate-limits --- tildes/tildes/lib/ratelimit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tildes/tildes/lib/ratelimit.py b/tildes/tildes/lib/ratelimit.py index 15d0c0c..2f67dca 100644 --- a/tildes/tildes/lib/ratelimit.py +++ b/tildes/tildes/lib/ratelimit.py @@ -282,8 +282,8 @@ _RATE_LIMITED_ACTIONS = ( RateLimitedAction("login", timedelta(hours=1), 20), RateLimitedAction("login_two_factor", timedelta(hours=1), 20), RateLimitedAction("register", timedelta(hours=1), 50), - RateLimitedAction("topic_post", timedelta(hours=1), 6, max_burst=4), - RateLimitedAction("comment_post", timedelta(hours=1), 30, max_burst=20), + RateLimitedAction("topic_post", timedelta(hours=4), 10, max_burst=4), + RateLimitedAction("comment_post", timedelta(hours=1), 10, max_burst=5), RateLimitedAction("donate_stripe", timedelta(hours=1), 5, by_user=False), )