QTom
e63c83955a
fix: address deep code review issues for RPM limiting
- Move IncrementRPM after Forward success to prevent phantom RPM
consumption during account switch retries
- Add base_rpm input sanitization (clamp to 0-10000) in Create/Update
- Add WindowCost scheduling checks to legacy path sticky sessions
(4 check sites + 4 prefetch sites), fixing pre-existing gap
- Clean up rpm_strategy/rpm_sticky_buffer when disabling RPM in
BulkEditModal (JSONB merge cannot delete keys, use empty values)
- Add json.Number test cases to TestGetBaseRPM/TestGetRPMStickyBuffer
- Document TOCTOU race as accepted soft-limit design trade-off
2026-02-28 20:38:06 +08:00
..
2026-02-14 11:56:08 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 20:38:06 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 20:37:37 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:01:20 +08:00
2025-12-29 19:38:33 +08:00
2026-02-28 20:37:10 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 20:37:37 +08:00
2026-02-14 11:56:08 +08:00
2026-02-28 15:01:20 +08:00
2026-02-13 15:59:30 +08:00
2025-12-18 14:26:55 +08:00