This is an automated email from the ASF dual-hosted git repository.

yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 72d1a3b  fix spring boot web maximum upload file limit config (#6070)
72d1a3b is described below

commit 72d1a3b39c635dda4951dacb5c5fb5992f44a3e2
Author: Xinyi Zou <[email protected]>
AuthorDate: Tue Jun 22 10:46:26 2021 +0800

    fix spring boot web maximum upload file limit config (#6070)
    
    Co-authored-by: zouxinyi <[email protected]>
---
 docs/en/administrator-guide/config/fe_config.md              | 4 ++--
 docs/zh-CN/administrator-guide/config/fe_config.md           | 4 ++--
 fe/fe-core/src/main/java/org/apache/doris/common/Config.java | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/docs/en/administrator-guide/config/fe_config.md 
b/docs/en/administrator-guide/config/fe_config.md
index db4cd53..a0fbb86 100644
--- a/docs/en/administrator-guide/config/fe_config.md
+++ b/docs/en/administrator-guide/config/fe_config.md
@@ -185,9 +185,9 @@ HTTP Server V2 is implemented by SpringBoot. It uses an 
architecture that separa
 
 ### http_max_request_size
 
-Default:100M
+Default:100MB
 
-The above two parameters are the http v2 version, the web maximum upload file 
limit, the default is 100M, you can modify it according to your needs.
+The above two parameters are the http v2 version, the web maximum upload file 
limit, the default is 100MB, you can modify it according to your needs.
 
 ### frontend_address
 
diff --git a/docs/zh-CN/administrator-guide/config/fe_config.md 
b/docs/zh-CN/administrator-guide/config/fe_config.md
index 612704f..48df2ea 100644
--- a/docs/zh-CN/administrator-guide/config/fe_config.md
+++ b/docs/zh-CN/administrator-guide/config/fe_config.md
@@ -184,9 +184,9 @@ HTTP Server V2 由 SpringBoot 实现。它采用前后端分离的架构。只
 
 ### http_max_request_size
 
-默认值:100M
+默认值:100MB
 
-以上两个参数是http v2版本,web最大上传文件限制,默认100M,可以根据自己需要修改
+以上两个参数是http v2版本,web最大上传文件限制,默认100MB,可以根据自己需要修改
 
 ### default_max_filter_ratio
 
diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/Config.java 
b/fe/fe-core/src/main/java/org/apache/doris/common/Config.java
index fc511db..9d351de 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/Config.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/Config.java
@@ -326,10 +326,10 @@ public class Config extends ConfigBase {
     @ConfField public static int http_backlog_num = 1024;
 
     /**
-     *Maximum file limit for single upload of web request, default value: 100M
+     *Maximum file limit for single upload of web request, default value: 100MB
      */
-    @ConfField public static String http_max_file_size = "100M";
-    @ConfField public static String http_max_request_size = "100M";
+    @ConfField public static String http_max_file_size = "100MB";
+    @ConfField public static String http_max_request_size = "100MB";
 
     /**
      * The backlog_num for mysql nio server

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to