Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: Bump pg pool timeout (#4870)

Matthew Zhoub27dec5ca589
diff --git a/letta/settings.py b/letta/settings.py
index 8b9bf39ad..d4fd925d5 100644
--- a/letta/settings.py
+++ b/letta/settings.py
@@ -227,7 +227,7 @@ class Settings(BaseSettings):
pg_uri: Optional[str] = default_pg_uri # option to specify full uri
pg_pool_size: int = 25 # Concurrent connections
pg_max_overflow: int = 10 # Overflow limit
- pg_pool_timeout: int = 30 # Seconds to wait for a connection
+ pg_pool_timeout: int = 90 # Seconds to wait for a connection
pg_pool_recycle: int = 1800 # When to recycle connections
pg_echo: bool = False # Logging
pool_pre_ping: bool = True # Pre ping to check for dead connections