From 8367e0cf489988b25509f6babddd204a79ba550c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 8 Jul 2019 21:48:04 -0600 Subject: [PATCH] Update User RateLimits --- app/Util/RateLimit/User.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/Util/RateLimit/User.php b/app/Util/RateLimit/User.php index c93aa6c4..f54c94d3 100644 --- a/app/Util/RateLimit/User.php +++ b/app/Util/RateLimit/User.php @@ -49,8 +49,23 @@ trait User { return 500; } + public function getMaxUserBansPerDayAttribute() + { + return 100; + } + public function getMaxInstanceBansPerDayAttribute() { return 100; } + + public function getMaxHashtagFollowsPerHourAttribute() + { + return 20; + } + + public function getMaxHashtagFollowsPerDayAttribute() + { + return 100; + } } \ No newline at end of file