Added item to configuration file for max form content size

This commit is contained in:
Ankit Sardesai 2014-11-07 08:14:54 -05:00
parent c15f8d1ffd
commit 57a3d345a0
2 changed files with 8 additions and 0 deletions

5
refine
View File

@ -917,6 +917,11 @@ if [ -z "$REFINE_MEMORY" ] ; then
fi
add_option "-Xms256M -Xmx$REFINE_MEMORY -Drefine.memory=$REFINE_MEMORY"
if [ -z "$REFINE_MAX_FORM_CONTENT_SIZE" ] ; then
REFINE_MAX_FORM_CONTENT_SIZE="1048576"
fi
add_option "-Drefine.max_form_content_size=$REFINE_MAX_FORM_CONTENT_SIZE"
if [ -z "$REFINE_PORT" ] ; then
REFINE_PORT="3333"
fi

View File

@ -5,6 +5,9 @@ no_proxy="localhost,127.0.0.1"
#REFINE_PORT=3334
#REFINE_HOST=127.0.0.1
#REFINE_WEBAPP=main\webapp
# Memory and max form size allocations
#REFINE_MAX_FORM_CONTENT_SIZE=1048576
REFINE_MEMORY=1400M
# Some sample configurations. These have no defaults.