mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
Hotfix on top of v1.4.37. ensureUserRollupsFresh fire-and-forget on /api/analytics, comprehensive aggregator, summaries slice. The synchronous variant was blocking the Node event loop for ~60 s per cache miss on power-user accounts whose iOS step samples kept the 90-day rollup window slightly stale, which starved /api/health, /api/version and concurrent iOS requests. The downstream coverage probe preserves correctness via the live-SQL fallback; the only user-observable change is one cache window of staleness on the very first request after a new measurement lands.