Browse Source

Update User Ratelimits

Daniel Supernault 5 years ago
parent
commit
d186dd6356
1 changed files with 15 additions and 0 deletions
  1. 15 0
      app/Util/RateLimit/User.php

+ 15 - 0
app/Util/RateLimit/User.php

@@ -83,4 +83,19 @@ trait User {
 	{
 		return 100;
 	}
+
+	public function getMaxComposeMediaUpdatesPerHourAttribute()
+	{
+		return 100;
+	}
+
+	public function getMaxComposeMediaUpdatesPerDayAttribute()
+	{
+		return 1000;
+	}
+
+	public function getMaxComposeMediaUpdatesPerMonthAttribute()
+	{
+		return 5000;
+	}
 }