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

pull/908/head
dsk 2023-06-25 16:16:40 +08:00
parent cec266d3cd
commit 7749ea3421
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
# [可选]上传文件大小限制