fix(sentinel): restore hourly version checks for enabled servers

Dispatch Sentinel checks hourly for eligible servers, including healthy
installations, while continuing to exclude build servers.
This commit is contained in:
Andras Bacsai
2026-09-14 15:43:52 +02:00
parent 9b07be2d68
commit 22fbbd74ff
3 changed files with 16 additions and 9 deletions
+6
View File
@@ -166,6 +166,12 @@ class ServerManagerJob implements ShouldBeEncrypted, ShouldQueue
}
}
if ($server->isSentinelEnabled()
&& shouldRunCronNow('0 * * * *', $serverTimezone, "sentinel-version-check:{$server->id}", $this->executionTime)
) {
CheckAndStartSentinelJob::dispatch($server);
}
// Dispatch ServerStorageCheckJob if due (only when Sentinel is out of sync or disabled)
// When Sentinel is active, PushServerUpdateJob handles storage checks with real-time data
if ($sentinelOutOfSync) {