Browse Source

Double number of Ur/Web server threads

Adam Chlipala 10 years ago
parent
commit
e295c8fa3f
2 changed files with 2 additions and 0 deletions
  1. 1 0
      frameworks/Ur/urweb/setup.sh
  2. 1 0
      frameworks/Ur/urweb/setup_mysql.sh

+ 1 - 0
frameworks/Ur/urweb/setup.sh

@@ -5,4 +5,5 @@ ${URWEB_HOME}/bin/urweb -db "dbname=hello_world user=benchmarkdbuser password=be
 
 export LD_LIBRARY_PATH=${URWEB_HOME}/lib
 
+MAX_THREADS=$((2 * $MAX_THREADS))
 ./bench.exe -q -k -t ${MAX_THREADS} &

+ 1 - 0
frameworks/Ur/urweb/setup_mysql.sh

@@ -5,4 +5,5 @@ export LD_LIBRARY_PATH=${URWEB_HOME}/lib
 
 ${URWEB_HOME}/bin/urweb -dbms mysql -db "dbname=hello_world user=benchmarkdbuser password=benchmarkdbpass host=${DBHOST}" bench
 
+MAX_THREADS=$((2 * $MAX_THREADS))
 ./bench.exe -q -k -t ${MAX_THREADS} &