1
0
Fork 0

Update rate limits

This commit is contained in:
Daniel Supernault 2020-01-05 21:53:59 -07:00
parent 034fdb4d42
commit da8b06c088
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 16 additions and 1 deletions

View File

@ -6,7 +6,7 @@ trait User {
public function isTrustedAccount()
{
return $this->created_at->lt(now()->subDays(20));
return $this->created_at->lt(now()->subDays(60));
}
public function getMaxPostsPerHourAttribute()
@ -98,4 +98,19 @@ trait User {
{
return 5000;
}
public function getMaxStoriesPerHourAttribute()
{
return 10;
}
public function getMaxStoriesPerDayAttribute()
{
return 15;
}
public function getMaxStoryDeletePerDayAttribute()
{
return 20;
}
}