Use only ASGI to serve the API.
Change makefile target to use UvicornWorker with gunicorn.
This will allow the server to use asynchronous features.
doc:
https://www.uvicorn.org/#running-with-gunicorn
Details
Details
- Reviewers
ardumont vlorentz - Group Reviewers
Reviewers - Commits
- rDGQL660acc6aa448: Remove the option to use a WSGI server
Diff Detail
Diff Detail
- Repository
- rDGQL GraphQL API
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D8374 (id=30216)
Rebasing onto ce8008dfb3...
Current branch diff-target is up to date.
Changes applied before test
commit 660acc6aa44897e45cd53da7ff1d95b77761b2f6 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Sep 1 10:38:17 2022 +0200 Remove the option to use a WSGI server Use only ASGI to serve the API. Change makefile target to use UvicornWorker with gunicorn. This will allow the server to use asynchronous features.
See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/146/ for more details.