From 0c01e1312235ca44bd2b00604e12680d3a14fd01 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 8 Jul 2022 17:02:37 -0400 Subject: [PATCH] Update start.sh --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 24dd5655..f36e4796 100755 --- a/start.sh +++ b/start.sh @@ -148,7 +148,7 @@ else congrats nginx -c $(pwd)/nginx/$conf - gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 500 --workers $((1*$(grep -c '^processor' /proc/cpuinfo)+1)) --preload + gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 500 --workers $((2*$(grep -c '^processor' /proc/cpuinfo)+1)) --preload fi # If this is executed, it means the previous command failed, don't display the congratulations message