From 5e869d0f9269b506ba51b3a95b3438500d21ca18 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 10 May 2025 18:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8B=E8=BD=BD=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/com/xypower/common/FileDownloader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/xypower/common/FileDownloader.java b/common/src/main/java/com/xypower/common/FileDownloader.java index fe5fdc58..5e51a251 100644 --- a/common/src/main/java/com/xypower/common/FileDownloader.java +++ b/common/src/main/java/com/xypower/common/FileDownloader.java @@ -34,7 +34,7 @@ public class FileDownloader { connection = (HttpURLConnection) url.openConnection(); connection.setRequestProperty("Accept-Encoding", "gzip"); connection.setConnectTimeout(10000); - connection.setReadTimeout(1800000); + connection.setReadTimeout(30000); connection.setDoInput(true); connection.connect(); final File temp = new File(filePath);