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: increase limits for pg connections (#1746)

Sarah Woodersf989f0d7fe35
diff --git a/letta/settings.py b/letta/settings.py
index 0dc66a262..cf2fd4890 100644
--- a/letta/settings.py
+++ b/letta/settings.py
@@ -167,8 +167,8 @@ class Settings(BaseSettings):
pg_host: Optional[str] = None
pg_port: Optional[int] = None
pg_uri: Optional[str] = default_pg_uri # option to specify full uri
- pg_pool_size: int = 20 # Concurrent connections
- pg_max_overflow: int = 10 # Overflow limit
+ pg_pool_size: int = 80 # Concurrent connections
+ pg_max_overflow: int = 30 # Overflow limit
pg_pool_timeout: int = 30 # Seconds to wait for a connection
pg_pool_recycle: int = 1800 # When to recycle connections
pg_echo: bool = False # Logging