mirror of
https://github.com/myronblair/jarvis
synced 2026-07-28 00:34:35 -05:00
Site Health tab: fix parkerslingshotrentals.com label + widen cards for full domain names; fix sites freshness-check interval mismatch (300s vs 180s cron) causing checks to feel far apart
This commit is contained in:
@@ -182,7 +182,10 @@ function collect_all(): array {
|
||||
}
|
||||
|
||||
// ── Site Health (TTL 5 min) ───────────────────────────────────────────
|
||||
if ($fresh('sites', 300)) {
|
||||
// Fixed 2026-07-07: this guard was 300s but cron only runs every 180s, so sites
|
||||
// were effectively only re-checked every OTHER run (~6 min gaps, felt "far apart").
|
||||
// 170s keeps it just under the cron cadence so it re-checks on every run.
|
||||
if ($fresh('sites', 170)) {
|
||||
$results['sites'] = 'skipped (fresh)';
|
||||
} else try {
|
||||
$sites = [
|
||||
|
||||
Reference in New Issue
Block a user