From d50dd3fe8465df67986ab49bab008c7e371f63cb Mon Sep 17 00:00:00 2001 From: xiaoQQya Date: Sat, 4 Feb 2023 18:12:25 +0800 Subject: [PATCH] =?UTF-8?q?perf(ZLMRESTfulUtils):=20=E4=BF=AE=E6=94=B9OkHt?= =?UTF-8?q?tpClient=20=E8=AF=BB=E5=8F=96=E8=B6=85=E6=97=B6=E6=97=B6?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E8=A7=A3=E5=86=B3=E7=82=B9=E6=92=AD=E6=97=B6?= =?UTF-8?q?=E6=88=AA=E5=9B=BE=E5=BF=AB=E7=85=A7=E8=8E=B7=E5=8F=96=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java index 56af6049..3610f319 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java @@ -36,7 +36,7 @@ public class ZLMRESTfulUtils { // 设置连接超时时间 httpClientBuilder.connectTimeout(5,TimeUnit.SECONDS); // 设置读取超时时间 - httpClientBuilder.readTimeout(5,TimeUnit.SECONDS); + httpClientBuilder.readTimeout(10,TimeUnit.SECONDS); // 设置连接池 httpClientBuilder.connectionPool(new ConnectionPool(16, 5, TimeUnit.MINUTES)); if (logger.isDebugEnabled()) {