From 1c12dc9642064de12ed384adc3a094cdbc8f6d91 Mon Sep 17 00:00:00 2001 From: Son NK Date: Wed, 25 Dec 2019 17:39:55 +0000 Subject: [PATCH] increase nb gunicorn workers to 4 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 110ead14..6f8a81b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,6 @@ RUN pip3 install -r requirements.txt COPY . . -#gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG -CMD ["gunicorn","wsgi:app","-b","0.0.0.0:7777","-w","2","--timeout","15","--log-level","DEBUG"] +#gunicorn wsgi:app -b 0.0.0.0:7777 -w 4 --timeout 15 --log-level DEBUG +CMD ["gunicorn","wsgi:app","-b","0.0.0.0:7777","-w","4","--timeout","15","--log-level","DEBUG"]