From 68eb076135d4b7c099ef8a770dfbb0f248e2a979 Mon Sep 17 00:00:00 2001 From: Kian Jones <11655409+kianjones9@users.noreply.github.com> Date: Fri, 30 Jan 2026 16:29:23 -0800 Subject: [PATCH] Revert "fix: force statement_timeout=0 on all database connections" (#9226) Revert "fix: force statement_timeout=0 on all database connections (#9184)" This reverts commit 0d3d9ea76bae586520ae8f50badb203ffd441675. --- letta/server/db.py | 1 - 1 file changed, 1 deletion(-) diff --git a/letta/server/db.py b/letta/server/db.py index bdb41b05..35ca098e 100644 --- a/letta/server/db.py +++ b/letta/server/db.py @@ -44,7 +44,6 @@ if not settings.disable_sqlalchemy_pooling: "prepared_statement_name_func": lambda: f"__asyncpg_{uuid.uuid4()}__", "statement_cache_size": 0, "prepared_statement_cache_size": 0, - "server_settings": {"statement_timeout": "0"}, } # Only add SSL if not already specified in connection string if "sslmode" not in async_pg_uri and "ssl" not in async_pg_uri: