新增接口超时时间配置,修复点播超时的情况下报错org.springframework.web.context.request.async.AsyncRequestTimeoutException

This commit is contained in:
dsk 2023-06-25 16:16:40 +08:00
parent 0d7789f2a6
commit 31515d2f7b
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,10 @@
spring:
# 设置接口超时时间
mvc:
async:
request-timeout: 20000
# [可选]上传文件大小限制
servlet:
multipart:

View File

@ -1,4 +1,8 @@
spring:
# 设置接口超时时间
mvc:
async:
request-timeout: 20000
thymeleaf:
cache: false
# [可选]上传文件大小限制