6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-13 14:43:03 +00:00

Set number of gunicorn workers to 3 for notes and forum

This commit is contained in:
Silvio Tomatis 2019-04-17 09:51:28 +02:00 committed by Régis Behmo
parent 9a782c5c37
commit 1046b48cc1
2 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@ WORKDIR /openedx/edx-notes-api
RUN pip install -r requirements/base.txt
EXPOSE 8000
CMD gunicorn --name notes --bind=0.0.0.0:8000 --max-requests=1000 notesserver.wsgi:application
CMD gunicorn --workers=3 --name notes --bind=0.0.0.0:8000 --max-requests=1000 notesserver.wsgi:application

View File

@ -12,4 +12,4 @@ WORKDIR /openedx/xqueue
RUN pip install -r requirements.txt
EXPOSE 8040
CMD gunicorn --name xqueue --bind=0.0.0.0:8040 --max-requests=1000 xqueue.wsgi:application
CMD gunicorn --workers=3 --name xqueue --bind=0.0.0.0:8040 --max-requests=1000 xqueue.wsgi:application