Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(proxy-extras): bound telemetry_reports migration lock waits with SET LOCAL lock_timeout (#46386)

yujonglee7fa52b2d21f6
diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20261009000100_telemetry_reports/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20261009000100_telemetry_reports/migration.sql
index 635bb325d0f..a36bc8feb2b 100644
--- a/litellm-proxy-extras/litellm_proxy_extras/migrations/20261009000100_telemetry_reports/migration.sql
+++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20261009000100_telemetry_reports/migration.sql
@@ -1,3 +1,5 @@
+SET LOCAL lock_timeout = '10s';
+
CREATE TABLE IF NOT EXISTS "LiteLLM_TelemetryReport" (
"id" TEXT NOT NULL,
"window_start" DOUBLE PRECISION NOT NULL,