project-nomad/admin/app
Claude 912f1780ac
feat: add rate limiting middleware for expensive API endpoints
Add an in-memory sliding window rate limiter as AdonisJS named
middleware. Applied to expensive endpoints to prevent abuse:
- POST /api/system/services/install: 5 req/min
- POST /api/benchmark/run{,/system,/ai}: 3 req/min
- POST /api/rag/upload: 10 req/min
- POST /api/ollama/models (pull): 5 req/min

Returns 429 with Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining
headers. Expired entries are cleaned up periodically.

https://claude.ai/code/session_01JFvpTYgm8GiE4vJ4cJKsFx
2026-03-24 09:28:46 +00:00
..
controllers refactor: deduplicate benchmark controller run methods into shared helper 2026-03-24 09:28:31 +00:00
exceptions fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00
jobs fix: prevent embedding retry storm when Ollama is not installed 2026-03-20 11:46:10 -07:00
middleware feat: add rate limiting middleware for expensive API endpoints 2026-03-24 09:28:46 +00:00
models feat: support for updating services 2026-03-11 14:08:09 -07:00
services fix(disk): correct storage display by fixing device matching and dedup mount entries 2026-03-20 11:46:10 -07:00
utils fix(disk): correct storage display by fixing device matching and dedup mount entries 2026-03-20 11:46:10 -07:00
validators feat(AI Assistant): improved state management and performance 2026-03-11 14:08:09 -07:00