Events 3.2.0, contracts 1.10.0: the heartbeat says what's on now

stats.live (eventsNow: a session or a one-day event on now, +/- 30 min;
checkInsLastHour) so Hub 2.7.0 asks again before an emergency update takes
a site with an event on down. Decision 39: emergency updates can run as
soon as possible (decision 30 changed). Tests: liveNow, Events 776.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 22:03:32 +02:00
co-authored by Claude Opus 5.5
parent 88b3e1fb36
commit 621821f5c0
15 changed files with 160 additions and 20 deletions
@@ -5,22 +5,51 @@
"health": {
"uptimeSeconds": 86400,
"db": true,
"jobs": { "mode": "queue", "failedLast24h": 0 },
"jobs": {
"mode": "queue",
"failedLast24h": 0
},
"lastBackupAt": "2026-11-03T00:00:12.000Z",
"disk": { "freeBytes": 21474836480, "totalBytes": 53687091200 },
"disk": {
"freeBytes": 21474836480,
"totalBytes": 53687091200
},
"errorsLast24h": 0,
"pendingMigrations": 0
},
"stats": {
"users": 412,
"events": { "active": 3, "upcoming": 5, "total": 61 },
"registrations": { "last30d": 88, "total": 2310 },
"tickets": { "last30d": 140, "total": 3901 },
"checkIns": { "last30d": 96 },
"events": {
"active": 3,
"upcoming": 5,
"total": 61
},
"registrations": {
"last30d": 88,
"total": 2310
},
"tickets": {
"last30d": 140,
"total": 3901
},
"checkIns": {
"last30d": 96
},
"messages": null,
"paymentProviders": ["yoco", "payfast"],
"paymentProviders": [
"yoco",
"payfast"
],
"campuses": true,
"campusCount": 2,
"income": { "last30d": "R5 001–R20 000", "allTime": "R150 001–R250 000", "eventIncome12m": "R100 001–R150 000" }
"income": {
"last30d": "R5 001–R20 000",
"allTime": "R150 001–R250 000",
"eventIncome12m": "R100 001–R150 000"
},
"live": {
"eventsNow": 1,
"checkInsLastHour": 42
}
}
}