Skip to content

Commit 0c01e13

Browse files
authored
Update start.sh
1 parent a05951b commit 0c01e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ else
148148
congrats
149149

150150
nginx -c $(pwd)/nginx/$conf
151-
gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 500 --workers $((1*$(grep -c '^processor' /proc/cpuinfo)+1)) --preload
151+
gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 500 --workers $((2*$(grep -c '^processor' /proc/cpuinfo)+1)) --preload
152152
fi
153153

154154
# If this is executed, it means the previous command failed, don't display the congratulations message

0 commit comments

Comments
 (0)