Commit 7749ea3421f6cc48a59db04bc9babfb8a404d740

Authored by dsk
1 parent cec266d3

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

src/main/resources/all-application.yml
... ... @@ -5,6 +5,10 @@
5 5  
6 6  
7 7 spring:
  8 + # 设置接口超时时间
  9 + mvc:
  10 + async:
  11 + request-timeout: 20000
8 12 # [可选]上传文件大小限制
9 13 servlet:
10 14 multipart:
... ...
src/main/resources/application-dev.yml
1 1 spring:
  2 + # 设置接口超时时间
  3 + mvc:
  4 + async:
  5 + request-timeout: 20000
2 6 thymeleaf:
3 7 cache: false
4 8 # [可选]上传文件大小限制
... ...