mirror of https://github.com/pixelfed/pixelfed
Retire Classic Compose UI
parent
24b8f6faa9
commit
72bffd16d4
@ -0,0 +1,26 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue