This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.0.3
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.0.3 by this push:
new 1fe9bc9 fix:oom when upload file
new 1404e95 Merge pull request #1263 from casionone/fix_oom
1fe9bc9 is described below
commit 1fe9bc93c5c178adfe16c7c91d9cc006eac4b0fd
Author: casionone <[email protected]>
AuthorDate: Fri Dec 31 18:31:13 2021 +0800
fix:oom when upload file
---
assembly-combined-package/assembly-combined/conf/linkis.properties | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/assembly-combined-package/assembly-combined/conf/linkis.properties
b/assembly-combined-package/assembly-combined/conf/linkis.properties
index 22f2ef4..bb37bc4 100644
--- a/assembly-combined-package/assembly-combined/conf/linkis.properties
+++ b/assembly-combined-package/assembly-combined/conf/linkis.properties
@@ -43,4 +43,7 @@ wds.linkis.home=/appcom/Install/LinkisInstall
wds.linkis.governance.station.admin=hadoop
wds.linkis.gateway.conf.publicservice.list=query,jobhistory,application,configuration,filesystem,udf,variable,microservice,errorcode,bml,datasource
spring.spring.servlet.multipart.max-file-size=200MB
-spring.spring.servlet.multipart.max-request-size=200MB
\ No newline at end of file
+spring.spring.servlet.multipart.max-request-size=200MB
+
+# note:value of zero means Jetty will never write to disk.
https://github.com/spring-projects/spring-boot/issues/9073
+spring.spring.servlet.multipart.file-size-threshold=50MB
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]