mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update User RateLimits
This commit is contained in:
parent
869360a744
commit
8367e0cf48
1 changed files with 15 additions and 0 deletions
|
@ -49,8 +49,23 @@ trait User {
|
||||||
return 500;
|
return 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMaxUserBansPerDayAttribute()
|
||||||
|
{
|
||||||
|
return 100;
|
||||||
|
}
|
||||||
|
|
||||||
public function getMaxInstanceBansPerDayAttribute()
|
public function getMaxInstanceBansPerDayAttribute()
|
||||||
{
|
{
|
||||||
return 100;
|
return 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMaxHashtagFollowsPerHourAttribute()
|
||||||
|
{
|
||||||
|
return 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getMaxHashtagFollowsPerDayAttribute()
|
||||||
|
{
|
||||||
|
return 100;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue