From fad263309c09c8c95938647d828d2f631ea06fff Mon Sep 17 00:00:00 2001 From: Edward Oliveira Date: Mon, 8 Nov 2021 09:52:24 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste=20de=20par=C3=A2metros=20gunicorn=20e=20?= =?UTF-8?q?Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 1 - docker/gunicorn_start.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 39b3d056c..460422def 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,7 +14,6 @@ ENV BUILD_PACKAGES apt-utils apt-file libpq-dev graphviz-dev build-essential git libcairo2-dev software-properties-common python3-setuptools python3-pip ## NAO EH PRA TIRAR O vim DA LISTA DE COMANDOS INSTALADOS!!! -## PRECISO DELES PARA VISUALIZAR/BUSCAR BUGS E DIFERENCAS DENTRO DOS CONTAINERS! ENV RUN_PACKAGES graphviz python3-lxml python3-magic postgresql-client python3-psycopg2 \ poppler-utils curl jq bash vim python3-venv tzdata nodejs \ fontconfig ttf-dejavu python nginx diff --git a/docker/gunicorn_start.sh b/docker/gunicorn_start.sh index ed9047855..5a2ecde67 100755 --- a/docker/gunicorn_start.sh +++ b/docker/gunicorn_start.sh @@ -25,7 +25,7 @@ USER=`whoami` # the user to run as (*) GROUP=`whoami` # the group to run as (*) NUM_WORKERS=10 # how many worker processes should Gunicorn spawn (*) # NUM_WORKERS = 2 * CPUS + 1 -TIMEOUT=60 +TIMEOUT=300 MAX_REQUESTS=100 # number of requests before restarting worker DJANGO_SETTINGS_MODULE=sapl.settings # which settings file should Django use (*) DJANGO_WSGI_MODULE=sapl.wsgi # WSGI module name (*)