Files
apix-mvp/apix-admin
Carsten Rehfeld a4a5a8e3f2
Deploy to Production / deploy (push) Successful in 3m20s
fix(admin): sliding-window rate — no sawtooth drop at bucket boundaries
Replace fixed-window accDelta (resets to 0 every 5 s) with a sliding
window: recentPolls[] holds {t, delta} entries; liveRpm() sums all
entries within the last 5 s and extrapolates to rpm. Old entries age
out naturally so the rate decays smoothly with no hard reset jump.
Chart and label now update continuously without the 0-drop artifact.

Co-Authored-By: Mira Rehfeld <noreply@anthropic.com>
2026-05-17 01:37:55 +02:00
..