From fb75741aa89378334799a560d6a400c44c350e18 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 25 Oct 2024 12:02:41 +0200 Subject: [PATCH] add sentinel check to servercheckjob --- app/Jobs/ServerCheckJob.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Jobs/ServerCheckJob.php b/app/Jobs/ServerCheckJob.php index 0013ab784..f4720d035 100644 --- a/app/Jobs/ServerCheckJob.php +++ b/app/Jobs/ServerCheckJob.php @@ -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) {