add sentinel check to servercheckjob

This commit is contained in:
Andras Bacsai
2024-10-25 12:02:41 +02:00
parent c099936e76
commit fb75741aa8

View File

@@ -67,9 +67,14 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
ServerStorageCheckJob::dispatch($this->server);
GetContainersStatus::run($this->server, $this->containers, $containerReplicates);
if ($this->server->isSentinelEnabled()) {
CheckAndStartSentinelJob::dispatch($this->server);
}
if ($this->server->isLogDrainEnabled()) {
$this->checkLogDrainContainer();
}
if ($this->server->proxySet() && ! $this->server->proxy->force_stop) {
$this->server->proxyType();
$foundProxyContainer = $this->containers->filter(function ($value, $key) {