Skip to content

Commit

Permalink
Added item to configuration file for max form content size
Browse files Browse the repository at this point in the history
  • Loading branch information
amsardesai committed Nov 7, 2014
1 parent c15f8d1 commit 57a3d34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions refine
Expand Up @@ -917,6 +917,11 @@ if [ -z "$REFINE_MEMORY" ] ; then
fi fi
add_option "-Xms256M -Xmx$REFINE_MEMORY -Drefine.memory=$REFINE_MEMORY" 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 if [ -z "$REFINE_PORT" ] ; then
REFINE_PORT="3333" REFINE_PORT="3333"
fi fi
Expand Down
3 changes: 3 additions & 0 deletions refine.ini
Expand Up @@ -5,6 +5,9 @@ no_proxy="localhost,127.0.0.1"
#REFINE_PORT=3334 #REFINE_PORT=3334
#REFINE_HOST=127.0.0.1 #REFINE_HOST=127.0.0.1
#REFINE_WEBAPP=main\webapp #REFINE_WEBAPP=main\webapp

# Memory and max form size allocations
#REFINE_MAX_FORM_CONTENT_SIZE=1048576
REFINE_MEMORY=1400M REFINE_MEMORY=1400M


# Some sample configurations. These have no defaults. # Some sample configurations. These have no defaults.
Expand Down

0 comments on commit 57a3d34

Please sign in to comment.