From f989f0d7fe35da74391084a7b4bcb9a778e5f334 Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Wed, 16 Apr 2025 20:34:36 -0700 Subject: [PATCH] chore: increase limits for pg connections (#1746) --- letta/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letta/settings.py b/letta/settings.py index 0dc66a26..cf2fd489 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