From 3ee5e65b2052ca20801ef7bb1a60ecc496766ee4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 09 Aug 2022 15:19:41 +0800
Subject: [PATCH] 20220809 最大上传150

---
 src/main/resources/application.yml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 243b58c..c39852e 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -6,6 +6,9 @@
       timeout: 1
 
 spring:
+  mvc:
+    async:
+      request-timeout: 20s
   datasource:
     url: jdbc:mysql://120.27.238.55:3306/farmer_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
     username: ct_test
@@ -74,8 +77,8 @@
 
   servlet:
     multipart:
-      max-file-size: 150MB
-      max-request-size: 150MB
+      max-file-size: 512MB
+      max-request-size: 512MB
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
 #  configuration:

--
Gitblit v1.9.1