use 2 worker for gunicorn

This commit is contained in:
Son NK 2019-07-07 23:13:16 +02:00
parent 4cdb803157
commit a00a03f51c
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ RUN pip3 install -r requirements.txt
COPY . .
CMD 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 2 --timeout 15 --log-level DEBUG
#CMD ["/usr/local/bin/gunicorn", "wsgi:app", "-k", "gthread", "-b", "0.0.0.0:5000", "-w", "2", "--timeout", "15", "--log-level", "DEBUG"]