feat: cleanup sentinel on server deletion

fix: Sentinel should not be enabled on build servers
This commit is contained in:
Andras Bacsai
2024-10-17 11:21:43 +02:00
parent b58ff07832
commit 4c95647b96
8 changed files with 27 additions and 8 deletions

View File

@@ -96,7 +96,7 @@ class PushServerUpdateJob implements ShouldQueue
$this->serverStatus();
$this->server->sentinelUpdateAt();
$this->server->sentinelHeartbeat();
$this->containers = collect(data_get($data, 'containers'));
if ($this->containers->isEmpty()) {