From 21debd7f404452c2c3346a7c4c7f58d478a295f6 Mon Sep 17 00:00:00 2001 From: yang chen Date: Mon, 8 Dec 2025 18:08:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E8=B0=83=E6=95=B4=E5=BC=82?= =?UTF-8?q?=E6=AD=A5=E8=AF=B7=E6=B1=82=E8=B6=85=E6=97=B6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将异步请求超时时间从120秒调整为永不超时 - 保持默认超时时间为30秒的注释说明 - 确保配置与SpringBoot 2.6.x兼容性 --- jeelowcode-admin/src/main/resources/application.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeelowcode-admin/src/main/resources/application.yaml b/jeelowcode-admin/src/main/resources/application.yaml index 3806152..706807b 100644 --- a/jeelowcode-admin/src/main/resources/application.yaml +++ b/jeelowcode-admin/src/main/resources/application.yaml @@ -14,7 +14,7 @@ spring: max-request-size: 500MB # 设置总上传的文件大小 mvc: async: - request-timeout: 120000 # 设置异步请求超时时间为120秒(2分钟),默认是30秒 + request-timeout: -1 # 设置异步请求超时时间永不超时,默认是30秒 pathmatch: matching-strategy: ANT_PATH_MATCHER # 解决 SpringFox 与 SpringBoot 2.6.x 不兼容的问题,参见 SpringFoxHandlerProviderBeanPostProcessor 类