Skip to content

Commit

Permalink
Merge pull request #147 from CityofToronto/prod-config
Browse files Browse the repository at this point in the history
Increase number of simultaneous requests from 1 to 10 and reduce timeout
  • Loading branch information
Nate-Wessel authored Oct 4, 2024
2 parents eab5512 + dddf248 commit 258a75c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 258a75c

Please sign in to comment.