Skip to content

Commit

Permalink
docs: worker deps
Browse files Browse the repository at this point in the history
  • Loading branch information
pajod committed Aug 17, 2024
1 parent f2234de commit cf134b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/source/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1635,14 +1635,14 @@ libraries may be installed using setuptools' ``extras_require`` feature.
A string referring to one of the following bundled classes:

* ``sync``
* ``gthread``
* ``eventlet`` - Requires eventlet >= 0.24.1 (or install it via
``pip install gunicorn[eventlet]``)
``pip install gunicorn[eventlet]``).
Usages in new projects are discouraged.
* ``gevent`` - Requires gevent >= 1.4 (or install it via
``pip install gunicorn[gevent]``)
* ``tornado`` - Requires tornado >= 0.2 (or install it via
``pip install gunicorn[tornado]``)
* ``gthread`` - Python 2 requires the futures package to be installed
(or install it via ``pip install gunicorn[gthread]``)

Optionally, you can provide your own worker by giving Gunicorn a
Python path to a subclass of ``gunicorn.workers.base.Worker``.
Expand Down
6 changes: 3 additions & 3 deletions gunicorn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,14 +678,14 @@ class WorkerClass(Setting):
A string referring to one of the following bundled classes:
* ``sync``
* ``gthread``
* ``eventlet`` - Requires eventlet >= 0.24.1 (or install it via
``pip install gunicorn[eventlet]``)
``pip install gunicorn[eventlet]``).
Usages in new projects are discouraged.
* ``gevent`` - Requires gevent >= 1.4 (or install it via
``pip install gunicorn[gevent]``)
* ``tornado`` - Requires tornado >= 0.2 (or install it via
``pip install gunicorn[tornado]``)
* ``gthread`` - Python 2 requires the futures package to be installed
(or install it via ``pip install gunicorn[gthread]``)
Optionally, you can provide your own worker by giving Gunicorn a
Python path to a subclass of ``gunicorn.workers.base.Worker``.
Expand Down

0 comments on commit cf134b0

Please sign in to comment.