From ef9f1c5b4640f379cca0bf7d36692e948cc27b83 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期四, 30 十二月 2021 14:45:40 +0800
Subject: [PATCH] 设长请求时间

---
 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 6cbc212..b97b4e9 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(10000);
+            con.setReadTimeout(300000);
             con.setRequestProperty("Charset", "UTF-8");
             con.setRequestProperty("Content-Type", "application/json");
             if(header != null){

--
Gitblit v1.8.0