-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Refactor app backend to async #460
Conversation
Hi @sarah-widder, This is great! Do you have an ETA on when it might be merged? |
Hi @mrn-linak hoping for the end of this week. Thanks for your interest :) |
Amazing! Thanks for the reply :-) |
JFYI, anyone who uses before deployment script updates, change from "main:app" to "app:app" as it is typo.
|
@sarah-widder could it be that the start.sh / start.cmd scripts haven't been updated for these code changes? |
This refactor is intended to improve the performance of the app by making the backend routes asynchronous and configuring the gunicorn worker count to support more concurrent requests.
To run locally:
python -m pip install -r requirements.txt
To deploy:
az webapp up --name <app name> --runtime "Python:3.11" --sku "B1"
from the root of the repo.python3 -m gunicorn app:app
To do: