From c98210e6d26640820397fc5ade7d3e4d3fdbe8ba Mon Sep 17 00:00:00 2001 From: Edward <9326037+edwardoliveira@users.noreply.github.com> Date: Fri, 5 Nov 2021 14:38:43 -0300 Subject: [PATCH] Update gunicorn_start.sh --- docker/gunicorn_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/gunicorn_start.sh b/docker/gunicorn_start.sh index 9ef4b7982..cafa2c7d5 100755 --- a/docker/gunicorn_start.sh +++ b/docker/gunicorn_start.sh @@ -23,7 +23,7 @@ DJANGODIR=/var/interlegis/sapl/ # Django project directory (* SOCKFILE=/var/interlegis/sapl/run/gunicorn.sock # we will communicate using this unix socket (*) USER=`whoami` # the user to run as (*) GROUP=`whoami` # the group to run as (*) -NUM_WORKERS=3 # how many worker processes should Gunicorn spawn (*) +NUM_WORKERS=100 # how many worker processes should Gunicorn spawn (*) # NUM_WORKERS = 2 * CPUS + 1 TIMEOUT=300 MAX_REQUESTS=100 # number of requests before restarting worker