jack 1 月之前
父節點
當前提交
56959d4403
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      py/core/providers/database/base.py

+ 1 - 1
py/core/providers/database/base.py

@@ -32,7 +32,7 @@ class SemaphoreConnectionPool:
                 max_size=self.postgres_configuration_settings.max_connections,
                 statement_cache_size=self.postgres_configuration_settings.statement_cache_size,
                 timeout=0,             # 获取连接超时 60 秒
-                command_timeout=120,     # 单个查询超时 30 秒(可选)
+                command_timeout=None,     # 单个查询超时 30 秒(可选)
             )
 
             logger.info(