Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

Commit 8a3c6b4

Browse files
lbengayedmbensalem
authored andcommitted
FORUM-1315 : Add Configuration variable for upload file size limit (#324)
* FORUM-1315 : Add Configuration variable for upload file size limit
1 parent 1176fac commit 8a3c6b4

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

extension/config/src/main/resources/conf/platform/configuration.properties

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,15 @@ gatein.portal.idm.createuserportal=${exo.portal.idm.createuserportal:false}
970970
# Destroy user dashboard while deleting user identity
971971
gatein.portal.idm.destroyuserportal=${exo.portal.idm.destroyuserportal:true}
972972

973+
974+
###########################
975+
#
976+
# Maximum size of the file to upload in MB
977+
#
978+
979+
exo.uploadLimit=${exo.uploadLimit:200}
980+
981+
973982
###########################
974983
#
975984
# Datasources

extension/config/src/main/resources/conf/platform/exo-sample.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,12 @@
11281128
#exo.cache.commons.WebNotificationCache.cacheMode=asyncReplication
11291129
#exo.cache.commons.SettingService=asyncReplication
11301130
#exo.cache.commons.UserStateService.cacheMode=asyncReplication
1131+
###########################
1132+
#
1133+
# Maximum size of the file to upload in MB
1134+
#exo.uploadLimit=10
1135+
1136+
11311137
###########################
11321138
#
11331139
# Logs - Apache Tomcat based distributions only

0 commit comments

Comments
 (0)