"Refactor error handling and rate limiting in FEHLER_BEHOBEN module"
This commit is contained in:
@@ -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 ✅
|
||||
Reference in New Issue
Block a user