From 8a3c6b4e7ca416e2e6cb95f97cf66d71c4d9fc40 Mon Sep 17 00:00:00 2001 From: Lotfi Ben Gayed Date: Thu, 30 Aug 2018 18:26:35 +0200 Subject: [PATCH] FORUM-1315 : Add Configuration variable for upload file size limit (#324) * FORUM-1315 : Add Configuration variable for upload file size limit --- .../resources/conf/platform/configuration.properties | 9 +++++++++ .../main/resources/conf/platform/exo-sample.properties | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/extension/config/src/main/resources/conf/platform/configuration.properties b/extension/config/src/main/resources/conf/platform/configuration.properties index fe561604e5..6fcbc233cc 100644 --- a/extension/config/src/main/resources/conf/platform/configuration.properties +++ b/extension/config/src/main/resources/conf/platform/configuration.properties @@ -970,6 +970,15 @@ gatein.portal.idm.createuserportal=${exo.portal.idm.createuserportal:false} # Destroy user dashboard while deleting user identity gatein.portal.idm.destroyuserportal=${exo.portal.idm.destroyuserportal:true} + +########################### +# +# Maximum size of the file to upload in MB +# + +exo.uploadLimit=${exo.uploadLimit:200} + + ########################### # # Datasources diff --git a/extension/config/src/main/resources/conf/platform/exo-sample.properties b/extension/config/src/main/resources/conf/platform/exo-sample.properties index a8060480f0..714db9bec6 100644 --- a/extension/config/src/main/resources/conf/platform/exo-sample.properties +++ b/extension/config/src/main/resources/conf/platform/exo-sample.properties @@ -1128,6 +1128,12 @@ #exo.cache.commons.WebNotificationCache.cacheMode=asyncReplication #exo.cache.commons.SettingService=asyncReplication #exo.cache.commons.UserStateService.cacheMode=asyncReplication +########################### +# +# Maximum size of the file to upload in MB +#exo.uploadLimit=10 + + ########################### # # Logs - Apache Tomcat based distributions only