version++

fix: unreachable servers
This commit is contained in:
Andras Bacsai 2023-10-06 15:32:46 +02:00
parent fe9c501c1d
commit 6659153804
4 changed files with 6 additions and 5 deletions

View File

@ -56,8 +56,9 @@ public function handle(): void
$serverUptimeCheckNumberMax = 3;
while (true) {
if ($serverUptimeCheckNumber >= $serverUptimeCheckNumberMax) {
$this->server->settings()->update(['is_reachable' => false]);
$this->server->team->notify(new Unreachable($this->server));
send_internal_notification('Server unreachable: ' . $this->server->name);
// $this->server->settings()->update(['is_reachable' => false]);
// $this->server->team->notify(new Unreachable($this->server));
return;
}
$result = $this->checkServerConnection();

View File

@ -7,7 +7,7 @@
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.69',
'release' => '4.0.0-beta.70',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.69';
return '4.0.0-beta.70';

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.69"
"version": "4.0.0-beta.70"
}
}
}