run_server: Use more threads for 1.9 (32), less threads for 1.8 (8)
This commit is contained in:
parent
8aa1c0e1f2
commit
0540b987c2
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ PORT=15000
|
|||
case $SERVER in
|
||||
1.4|1.8)
|
||||
PORT=14998
|
||||
THREADS=30 ;;
|
||||
THREADS=8 ;;
|
||||
1.6) PORT=14999
|
||||
THREADS=8 ;;
|
||||
1.5*) PORT=14999
|
||||
|
@ -41,7 +41,7 @@ case $SERVER in
|
|||
1.7*) PORT=14997
|
||||
THREADS=16 ;;
|
||||
1.9*) PORT=14997
|
||||
THREADS=16 ;;
|
||||
THREADS=30 ;;
|
||||
esac
|
||||
|
||||
ulimit -Ss 2048
|
||||
|
|
Loading…
Add table
Reference in a new issue