fix: only run server storage every 10 mins if sentinel is not active

This commit is contained in:
Andras Bacsai committed 2024-11-03 09:10:36 +01:00
1 parent ca7c214775
commit ed03cd33b0
3 files changed
+7 -3

No files matched your search

-1
View File
@@ -39,7 +39,6 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
if (is_null($this->containers)) {
return 'No containers found.';
}
ServerStorageCheckJob::dispatch($this->server);
GetContainersStatus::run($this->server, $this->containers, $containerReplicates);
if ($this->server->isSentinelEnabled()) {