-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat(async): add uvicorn, asgi, upgrade django=4.1 #473
Conversation
You may also take a look at this: https://github.com/Fueled/beacon-backend/commit/8f603d8c26cb81ec5454cb5e0aae3e00917665f5#diff-9cc070b76f0e6b43857f4eeedb4eaa88a711fc9e80a5bcad1a7679489cadc6bdR63-R70 and checkout that the nginx settings are in place for uvicorn proxy pass. |
Also, the docs changes can be picked up from here: https://github.com/Fueled/beacon-backend/commit/e3d7d01b85460ffa49962e3ff325b33ae1fc0fe0 |
{{cookiecutter.github_repository}}/provisioner/roles/project_data/defaults/main.yml
Outdated
Show resolved
Hide resolved
{{cookiecutter.github_repository}}/provisioner/roles/project_data/defaults/main.yml
Show resolved
Hide resolved
@sun337 Are you still working on it? |
PR Summary
|
@theskumar |
The only thing (and the most critical one) needs to be tested with upgraded Python version is that the uwsgi plugin that is compiled through ansible on configuration task works. I don't think it should have any other impact. |
{{cookiecutter.github_repository}}/{{cookiecutter.main_module}}/graphql/users/mutations.py
Show resolved
Hide resolved
Hey @sun337 When you've time, can you pick this up and test to see if this is working fine? |
Current version of django(3.2) doesn't support async tasks.
After upgrading to django>4.1 and running asgi server, the application can run tasks asynchronously.
Uvicorn config
--limit-concurrency
is not yet supported when running with Gunicorn.Need to test provisioner scripts before merging