litellm/tests/test_litellm/proxy/db
Ryan Crabbe 86ec2fbf84 perf(proxy): batch 11 create_task() calls into 1 in update_database()
Replace 11 separate asyncio.create_task() calls per request with a
single batched task that runs all spend-update helpers sequentially.
This reduces task scheduling overhead at high RPS (11,000 -> 1,000
tasks/sec at 1K RPS) and cuts 5 copy.deepcopy(payload) calls to 1
shared copy.

Also fixes a mutation bug where the daily agent spend handler received
the raw payload without deepcopy, unlike all other daily helpers.
2026-02-24 10:04:43 -08:00
..
db_transaction_queue adjust default aggregation threshold 2026-02-23 16:20:15 -08:00
mcp_server
test_check_migration.py
test_db_spend_update_writer.py perf(proxy): batch 11 create_task() calls into 1 in update_database() 2026-02-24 10:04:43 -08:00
test_exception_handler.py fix(proxy): restore broad is_database_connection_error; add is_database_transport_error for reconnect (#21796) 2026-02-21 12:04:00 -08:00
test_prisma_client.py
test_prisma_self_heal.py fix(tests): use counter-based mock for time.time in prisma self-heal test 2026-02-23 13:25:02 -03:00
test_rds_iam_token_expiry.py fix: proactive RDS IAM token refresh to prevent 15-min connection failed (#18795) 2026-01-08 23:53:36 +05:30