feat sketch 提取接口 和 minio超时设置

fix
This commit is contained in:
zhouchengrong
2024-08-19 11:02:56 +08:00
parent ca2e232062
commit 75140f5707

View File

@@ -14,8 +14,8 @@ from app.core.config import *
logger = logging.getLogger()
timeout = urllib3.Timeout(connect=1, read=10.0) # 连接超时 5 秒,读取超时 10 秒
http_client = urllib3.PoolManager(
num_pools=10, # 设置连接池大小
maxsize=10,
num_pools=100, # 设置连接池大小
maxsize=100,
timeout=timeout,
cert_reqs='CERT_REQUIRED', # 需要证书验证
retries=urllib3.Retry(