From 1940b8947d432372187b5644a9109935473791a9 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Mon, 3 Jun 2024 18:24:19 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(settings/base.py):=20increase?= =?UTF-8?q?=20max=5Foverflow=20from=2010=20to=2020=20to=20allow=20more=20c?= =?UTF-8?q?onnections=20beyond=20the=20pool=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/base/langflow/services/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/services/settings/base.py b/src/backend/base/langflow/services/settings/base.py index 4f50cb756..679d16627 100644 --- a/src/backend/base/langflow/services/settings/base.py +++ b/src/backend/base/langflow/services/settings/base.py @@ -70,7 +70,7 @@ class Settings(BaseSettings): """Database URL for Langflow. If not provided, Langflow will use a SQLite database.""" pool_size: int = 10 """The number of connections to keep open in the connection pool. If not provided, the default is 10.""" - max_overflow: int = 10 + max_overflow: int = 20 """The number of connections to allow that can be opened beyond the pool size. If not provided, the default is 10.""" cache_type: str = "async" remove_api_keys: bool = False