1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/Util/RateLimit/User.php
2019-06-19 02:45:51 -06:00

26 lines
No EOL
327 B
PHP

<?php
namespace App\Util\RateLimit;
trait User {
public function getMaxPostsPerHourAttribute()
{
return 20;
}
public function getMaxPostsPerDayAttribute()
{
return 100;
}
public function getMaxCommentsPerHourAttribute()
{
return 50;
}
public function getMaxCommentsPerDayAttribute()
{
return 500;
}
}