From fa8574ed344587c7ff44442030b27dbda41eb958 Mon Sep 17 00:00:00 2001
From: zhangxu <3%usVi4iXbVkhI1c>
Date: 星期四, 30 十二月 2021 12:02:21 +0800
Subject: [PATCH] http 工具类 等待时间设置长一点

---
 src/main/java/com/hx/util/HttpMethodUtil.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/hx/util/HttpMethodUtil.java b/src/main/java/com/hx/util/HttpMethodUtil.java
index 0ce4fea..6cbc212 100644
--- a/src/main/java/com/hx/util/HttpMethodUtil.java
+++ b/src/main/java/com/hx/util/HttpMethodUtil.java
@@ -46,7 +46,7 @@
             con.setDoOutput(true);
             con.setDoInput(true);
             con.setUseCaches(false);
-            con.setReadTimeout(5000);
+            con.setReadTimeout(10000);
             con.setRequestProperty("Charset", "UTF-8");
             con.setRequestProperty("Content-Type", "application/json");
             if(header != null){

--
Gitblit v1.8.0