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