Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase number of simultaneous requests from 1 to 10 and reduce timeout #147

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion running-the-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ There is a dev deployment available at [https://trans-bdit.intra.prod-toronto.ca

7. If necessary, edit the environment variables in `backend/.env`.

9. Gunicorn is the service to be used to deploy a production version of the API server. Run `GUNICORN_CMD_ARGS="--bind=0.0.0.0:8070 --timeout 90 --name=data_request_app" gunicorn app:app -D`
9. Gunicorn is the service to be used to deploy a production version of the API server. Run `GUNICORN_CMD_ARGS="--bind=0.0.0.0:8070 --timeout 10 --name=tt_request_app" --workers=2 --threads=5 gunicorn app:app -D`

### Front-end

Expand Down
Loading