Added option for setting form content size on Windows

This commit is contained in:
Ankit Sardesai 2015-04-18 14:09:46 -04:00
parent cdb74ca8ae
commit a29695ad4e

View File

@ -138,6 +138,11 @@ set REFINE_MEMORY=1024M
:gotMemory :gotMemory
set OPTS=%OPTS% -Xms256M -Xmx%REFINE_MEMORY% -Drefine.memory=%REFINE_MEMORY% set OPTS=%OPTS% -Xms256M -Xmx%REFINE_MEMORY% -Drefine.memory=%REFINE_MEMORY%
if not "%REFINE_MAX_FORM_CONTENT_SIZE%" == "" goto gotMaxFormContentSize
set REFINE_MAX_FORM_CONTENT_SIZE=1048576
:gotMaxFormContentSize
set OPTS=%OPTS% -Drefine.max_form_content_size=%REFINE_MAX_FORM_CONTENT_SIZE%
if not "%REFINE_PORT%" == "" goto gotPort if not "%REFINE_PORT%" == "" goto gotPort
set REFINE_PORT=3333 set REFINE_PORT=3333
:gotPort :gotPort