mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
feat: server disabled by overflow
This commit is contained in:
1 parent
c7da43f50d
commit
64fca99c26
6 files changed
+165
No files matched your search
@@ -151,6 +151,11 @@ class Server extends BaseModel
|
||||
}
|
||||
return false;
|
||||
}
|
||||
public function disableServerDueToOverflow() {
|
||||
$this->settings->update([
|
||||
'disabled_by_overflow' => true,
|
||||
]);
|
||||
}
|
||||
public function isServerReady(int $tries = 3)
|
||||
{
|
||||
if ($this->skipServer()) {
|
||||
|
||||
Reference in new issue
Block a user