mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
Add server limit override for development environment
This commit is contained in:
1 parent
a352e4cbf7
commit
860c537f81
1 file changed
+3
@@ -62,6 +62,9 @@ class Team extends Model implements SendsDiscord, SendsEmail
|
||||
}
|
||||
static public function serverLimit()
|
||||
{
|
||||
if (currentTeam()->id === 0 && isDev()) {
|
||||
return 9999999;
|
||||
}
|
||||
return Team::find(currentTeam()->id)->limits['serverLimit'];
|
||||
}
|
||||
public function limits(): Attribute
|
||||
|
||||
Reference in new issue
Block a user