From 314c20607f08472b8072d84613c23f51cf69ed80 Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Thu, 25 Sep 2025 09:48:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0=E5=A4=A7=E5=B0=8F=E9=99=90=E5=88=B6?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整单个文件最大上传大小从10MB降低到2MB,提升系统稳定性 - 调整总上传请求大小限制从20MB降低到10MB,优化内存使用 - 完善配置文件注释,移除冗余的示例说明 --- coder-common-thin-web/src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coder-common-thin-web/src/main/resources/application.yml b/coder-common-thin-web/src/main/resources/application.yml index d98d544..498509c 100755 --- a/coder-common-thin-web/src/main/resources/application.yml +++ b/coder-common-thin-web/src/main/resources/application.yml @@ -73,10 +73,10 @@ coder: servlet: multipart: enabled: true - # 是单个文件大小 默认1M 10KB - max-file-size: 10MB + # 是单个文件大小 默认1M + max-file-size: 2MB # 是设置总上传的数据大小 - max-request-size: 20MB + max-request-size: 10MB freemarker: # 指定HttpServletRequest的属性是否可以覆盖controller的model的同名项 allow-request-override: false