diff --git a/server/run.sh b/server/run.sh index 021a6f5..9d43776 100644 --- a/server/run.sh +++ b/server/run.sh @@ -2,7 +2,7 @@ chown compiler:compiler /spj echo 0 > /tmp/counter core=$(grep --count ^processor /proc/cpuinfo) -n=$(($core*4)) +n=$(($core*2)) chmod 400 /token.txt /tmp/counter chmod -R 400 /test_case -gunicorn --workers $n --threads $n --error-logfile /log/gunicorn.log --time 600 --bind 0.0.0.0:8080 server:wsgiapp \ No newline at end of file +gunicorn --workers $n --threads $n --error-logfile /log/gunicorn.log --time 600 --bind 0.0.0.0:8080 server:wsgiapp