Skip to content

Commit

Permalink
fix(backend): enlarge gunicorn timeout to 10 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxiaochuan committed Jan 12, 2024
1 parent ed6ee52 commit 2da4548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/docker-compose/Dockerfile_backend
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ EXPOSE 8088

ENV PYTHONPATH=/learnware-backend

CMD ["gunicorn", "--bind", "0.0.0.0:8088", "--workers", "2", "--backlog", "128", "--worker-connections", "1", "--threads", "1", "--timeout", "120", "--log-level", "DEBUG", "scripts.main:create_app()"]
CMD ["gunicorn", "--bind", "0.0.0.0:8088", "--workers", "2", "--backlog", "128", "--worker-connections", "1", "--threads", "1", "--timeout", "36000", "--log-level", "DEBUG", "scripts.main:create_app()"]

0 comments on commit 2da4548

Please sign in to comment.