Add server limit override for development environment
This commit is contained in:
parent
a352e4cbf7
commit
860c537f81
@ -62,6 +62,9 @@ public function serverOverflow() {
|
||||
}
|
||||
static public function serverLimit()
|
||||
{
|
||||
if (currentTeam()->id === 0 && isDev()) {
|
||||
return 9999999;
|
||||
}
|
||||
return Team::find(currentTeam()->id)->limits['serverLimit'];
|
||||
}
|
||||
public function limits(): Attribute
|
||||
|
Loading…
Reference in New Issue
Block a user