raise python performance magically

This commit is contained in:
Torma Kristóf 2019-11-16 20:45:06 +01:00
parent 5f6da5cbb3
commit b64c75f162
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -14,4 +14,4 @@ COPY . ./
# webserver, with one worker process and 8 threads. # webserver, with one worker process and 8 threads.
# For environments with multiple CPU cores, increase the number of workers # For environments with multiple CPU cores, increase the number of workers
# to be equal to the cores available. # to be equal to the cores available.
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app CMD exec gunicorn --bind :$PORT --workers 20 --threads 8 app:app