mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
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> |
||
|---|---|---|
| .. | ||
| _experimental/mcp_server | ||
| guardrails | ||
| management_endpoints | ||
| test_claude_code_marketplace.py | ||
| test_init_litellm_callbacks.py | ||
| test_model_based_routing_files_batches.py | ||
| test_prisma_engine_watchdog.py | ||