"Refactor error handling and rate limiting in FEHLER_BEHOBEN module"

This commit is contained in:
2025-05-29 20:40:32 +02:00
parent bc2fd5a68c
commit d4b0e561f7
4 changed files with 37 additions and 9 deletions

View File

@@ -179,6 +179,20 @@ Komplettes Live-Druckererkennungs-System mit Session-Caching und automatischer S
**Umfassende API und Frontend-Integration**
**Production-ready mit Error-Handling und Logging**
#### [2025-01-05] Rate-Limiting-Fehler behoben ✅
**Problem:** TypeError bei `limit_requests()` - falsche Funktionssignatur verwendet
**Lösung:**
- Rate-Limits zu `RATE_LIMITS` Konfiguration hinzugefügt
- API-Routen korrigiert von `@limit_requests("type", time, count)` zu `@limit_requests("type")`
- Dokumentation aktualisiert
**Behobene Rate-Limits:**
- `printer_monitor_live`: 5 Anfragen pro Minute
- `printer_monitor_summary`: 10 Anfragen pro 30 Sekunden
- `printer_monitor_cache`: 3 Anfragen pro 2 Minuten
- `printer_monitor_init`: 2 Anfragen pro 5 Minuten
---
## [2024-12-29] Template-Ladeproblem behoben ✅