Increase workers and timeout
This commit is contained in:
+1
-1
@@ -18,4 +18,4 @@ RUN mkdir -p storage/dishPhotos
|
||||
EXPOSE 5000
|
||||
|
||||
# Use Gunicorn to run the application in production
|
||||
CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:5000", "app:app"]
|
||||
CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--threads", "4", "--timeout", "300", "app:app"]
|
||||
Reference in New Issue
Block a user