increase nb gunicorn workers to 4

This commit is contained in:
Son NK 2019-12-25 17:39:55 +00:00
parent 4fd6b617c8
commit 1c12dc9642
1 changed files with 2 additions and 2 deletions

View File

@ -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"]