The upstream r-simple-rate tax-rate updates the timestamp on every request, preventing the window from ever resetting while polling is active. This caused 429 errors on all API endpoints during normal browser usage. limiter.lisp: - Add fixed-window-check that uses proper fixed windows (timestamp only resets when window expires, not on every request) - Rewrite define-page-with-limit and define-api-with-limit to call fixed-window-check directly, bypassing rate:with-limitation entirely - Immune to Radiance module reload ordering (no monkey-patches) frontend-partials.lisp: - Bump now-playing, now-playing-inline, now-playing-json rate limits from 10/1s to 120/60s to accommodate normal polling intervals parenscript/front-page.lisp: - Normalize channel-name polling from 10s to 15s (matches stream-player) |
||
|---|---|---|
| .. | ||
| admin.lisp | ||
| auth-ui.lisp | ||
| frameset-utils.lisp | ||
| front-page.lisp | ||
| parenscript-utils.lisp | ||
| player.lisp | ||
| profile.lisp | ||
| recently-played.lisp | ||
| spectrum-analyzer.lisp | ||
| stream-player.lisp | ||
| users.lisp | ||