mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix: server ready
This commit is contained in:
@@ -151,7 +151,12 @@ class Server extends BaseModel
|
||||
}
|
||||
public function isServerReady(int $tries = 3)
|
||||
{
|
||||
if ($this->skipServer()) {
|
||||
return false;
|
||||
}
|
||||
if ($this->unreachable_count < $tries) {
|
||||
$serverUptimeCheckNumber = $this->unreachable_count + 1;
|
||||
}
|
||||
$serverUptimeCheckNumberMax = $tries;
|
||||
|
||||
ray('server: ' . $this->name);
|
||||
|
||||
Reference in New Issue
Block a user