mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Budget enforcement trusts a current LiteLLM_BudgetWindowSpend row without reconciling it against LiteLLM_SpendLogs, so an increment dropped after a failed commit let the entity spend past its window limit after the next counter reseed. Failed increments now go back on the in-memory queue, or back to the Redis buffer, and retry on the next scheduler tick like every other spend category. |
||
|---|---|---|
| .. | ||
| test_base_update_queue.py | ||
| test_daily_spend_update_queue.py | ||
| test_pod_lock_manager.py | ||
| test_redis_update_buffer.py | ||
| test_spend_logs_partition_manager.py | ||
| test_spend_update_queue.py | ||
| test_tool_discovery_queue.py | ||
| test_window_spend_update_queue.py | ||