From 45d5874026263baf3328d97f8309d3e8bddb8151 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 19 Aug 2025 14:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/db/__init__.py b/app/db/__init__.py index d200c2ab..e90010e6 100644 --- a/app/db/__init__.py +++ b/app/db/__init__.py @@ -124,8 +124,7 @@ def _get_postgresql_engine(is_async: bool = False): # PostgreSQL连接参数 _connect_args = { - "connect_timeout": settings.DB_TIMEOUT, - "command_timeout": settings.DB_TIMEOUT, + "connect_timeout": settings.DB_TIMEOUT } # 创建同步引擎