chore: add gunicorn workers and threads to prevent worker lockup
This commit is contained in:
+1
-1
@@ -16,4 +16,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . /app/
|
||||
|
||||
EXPOSE 8111
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8111", "--chdir", "/app/lmsege", "lmsege.wsgi:application"]
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8111", "--workers", "3", "--threads", "2", "--chdir", "/app/lmsege", "lmsege.wsgi:application"]
|
||||
|
||||
Reference in New Issue
Block a user