mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-14 07:05:10 +00:00
fca08e8acc
When the Prisma query engine process is alive but not accepting connections (e.g., startup race condition in containerized deployments), lightweight reconnects (disconnect + connect) will never succeed. The health watchdog retries indefinitely without escalating to a full Prisma client recreation. Adds a consecutive failure counter that triggers a heavy reconnect (full Prisma client and engine recreation) after 3 consecutive lightweight reconnect failures (configurable via PRISMA_RECONNECT_ESCALATION_THRESHOLD env var). Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.