[ofbiz-framework] branch trunk updated: Improved: Increase the size of http.upload.max.sizethreshold

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: Increase the size of http.upload.max.sizethreshold

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5428a73  Improved: Increase the size of http.upload.max.sizethreshold
5428a73 is described below

commit 5428a73399393d649b3050cee3f6a681d438d3ed
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Apr 26 10:13:09 2020 +0200

    Improved: Increase the size of http.upload.max.sizethreshold
   
    (OFBIZ-11598)
   
    The http.upload.max.sizethreshold size is curently sets to 10240 (10KB) and that
    seems small nowadays to me. We could use 1MB.
   
    Also moves mail.spam.name in its mail block
   
    Thanks: Pawan for review
---
 framework/common/config/general.properties | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/framework/common/config/general.properties b/framework/common/config/general.properties
index fcc8b3a..38a3b03 100644
--- a/framework/common/config/general.properties
+++ b/framework/common/config/general.properties
@@ -113,18 +113,18 @@ mail.debug.on=N
 #    to any recipients valid or not
 mail.smtp.sendpartial=true
 
+# -- spam header name and value to block incoming spam detected by external spam checker, configured for spam assin
+mail.spam.name=X-Spam-Flag
+mail.spam.value=YES
+
 # -- HTTP upload settings
-# -- directory used to temporarily store files that are larger than the configured size threshold (10K)
-http.upload.max.sizethreshold=10240
+# -- Size threshold (almost 1MB)
+http.upload.max.sizethreshold=1024000
 # -- directory used to temporarily store files that are larger than the configured size threshold
 http.upload.tmprepository=runtime/tmp
 # -- max size in bytes (-1 for unlimited)
 http.upload.max.size=-1
 
-# -- spam header name and value to block incoming spam detected by external spam checker, configured for spam assin
-mail.spam.name=X-Spam-Flag
-mail.spam.value=YES
-
 # -- HTTP JSON settings
 http.json.xssi.prefix=//