add sentinel check to servercheckjob
This commit is contained in:
@@ -67,9 +67,14 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
ServerStorageCheckJob::dispatch($this->server);
|
ServerStorageCheckJob::dispatch($this->server);
|
||||||
GetContainersStatus::run($this->server, $this->containers, $containerReplicates);
|
GetContainersStatus::run($this->server, $this->containers, $containerReplicates);
|
||||||
|
|
||||||
|
if ($this->server->isSentinelEnabled()) {
|
||||||
|
CheckAndStartSentinelJob::dispatch($this->server);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->server->isLogDrainEnabled()) {
|
if ($this->server->isLogDrainEnabled()) {
|
||||||
$this->checkLogDrainContainer();
|
$this->checkLogDrainContainer();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->server->proxySet() && ! $this->server->proxy->force_stop) {
|
if ($this->server->proxySet() && ! $this->server->proxy->force_stop) {
|
||||||
$this->server->proxyType();
|
$this->server->proxyType();
|
||||||
$foundProxyContainer = $this->containers->filter(function ($value, $key) {
|
$foundProxyContainer = $this->containers->filter(function ($value, $key) {
|
||||||
|
Reference in New Issue
Block a user