1
0
Fork 0
pixelfed/app/Util/RateLimit/User.php

26 lines
327 B
PHP
Raw Normal View History

2019-06-19 08:45:51 +00:00
<?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;
}
}