Skip to content

Commit

Permalink
Merge branch 'litestar-org:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
RenameMe1 authored Feb 2, 2025
2 parents 3fb4e2e + b0322d5 commit eb88a2e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/topics/deployment/manually-with-asgi-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,14 @@ ASGI server with the following command:
[INFO] Starting granian
[INFO] Listening at: 127.0.0.1:8000
Gunicorn with Uvicorn workers
-----------------------------

.. important:: **Deprecation Notice**

The Gunicorn+Uvicorn pattern is considered legacy for ASGI deployments since `Uvicorn 0.30.0+ <https://github.com/encode/uvicorn/releases/tag/0.30.0/>`_ includes native worker management.

Uvicorn added a new multiprocess manager, that is meant to replace Gunicorn entirely. Refer to the pull request `#2183 <https://github.com/encode/uvicorn/pull/2183/>`_ for implementation details.

For new deployments, use Uvicorn directly.

0 comments on commit eb88a2e

Please sign in to comment.