fix(config): 调整异步请求超时配置
- 将异步请求超时时间从120秒调整为永不超时 - 保持默认超时时间为30秒的注释说明 - 确保配置与SpringBoot 2.6.x兼容性
This commit is contained in:
@@ -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 类
|
||||
|
||||
|
||||
Reference in New Issue
Block a user