mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update RateLimit trait
This commit is contained in:
parent
9141e70131
commit
880c8e8a71
1 changed files with 15 additions and 0 deletions
|
@ -68,4 +68,19 @@ trait User {
|
|||
{
|
||||
return 100;
|
||||
}
|
||||
|
||||
public function getMaxCollectionsPerHourAttribute()
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
|
||||
public function getMaxCollectionsPerDayAttribute()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
public function getMaxCollectionsPerMonthAttribute()
|
||||
{
|
||||
return 100;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue