Skip to content

Commit 319c07b

Browse files
committed
Update Uvicorn Gunicorn worker info in docs
- Mention deprecation in Uvicorn - Mention addition of workers to this project - Remove links to Uvicorn docs
1 parent 35d8d86 commit 319c07b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎docs/environment.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ ENV APP_MODULE="package.custom.module:api" WORKERS_PER_CORE="2"
8383

8484
!!! info
8585

86-
As described in the [Uvicorn docs](https://www.uvicorn.org), "Uvicorn includes a Gunicorn worker class allowing you to run ASGI applications, with all of Uvicorn's performance benefits, while also giving you Gunicorn's fully-featured process management."
86+
As originally described in the Uvicorn docs, "Uvicorn includes a Gunicorn worker class allowing you to run ASGI applications, with all of Uvicorn's performance benefits, while also giving you Gunicorn's fully-featured process management."
87+
88+
Uvicorn deprecated the workers module in version 0.30.0. It is now available here at `inboard.gunicorn_workers`.
8789

8890
`PROCESS_MANAGER`
8991

@@ -94,8 +96,8 @@ ENV APP_MODULE="package.custom.module:api" WORKERS_PER_CORE="2"
9496
[`WORKER_CLASS`](https://docs.gunicorn.org/en/latest/settings.html#worker-processes)
9597

9698
- Uvicorn worker class for Gunicorn to use.
97-
- Default: `inboard.gunicorn_workers.UvicornWorker`
98-
- Custom: For the [alternate Uvicorn worker](https://www.uvicorn.org/deployment/), `WORKER_CLASS="inboard.gunicorn_workers.UvicornH11Worker"` _(the H11 worker is provided for [PyPy](https://www.pypy.org/))_
99+
- Default: `inboard.gunicorn_workers.UvicornWorker` (provided with inboard)
100+
- Custom: For the alternate Uvicorn worker, `WORKER_CLASS="inboard.gunicorn_workers.UvicornH11Worker"` _(the H11 worker is provided for [PyPy](https://www.pypy.org/))_
99101

100102
### Worker process calculation
101103

0 commit comments

Comments
 (0)