Remove outdated documentation about using entry points

Closes #1365
This commit is contained in:
Berker Peksag 2017-02-05 01:24:49 +03:00
parent bd19be1b61
commit 9fad8ab6f5
3 changed files with 7 additions and 18 deletions

View File

@ -127,8 +127,7 @@ A string referring to one of the following bundled classes:
Optionally, you can provide your own worker by giving Gunicorn a Optionally, you can provide your own worker by giving Gunicorn a
Python path to a subclass of ``gunicorn.workers.base.Worker``. Python path to a subclass of ``gunicorn.workers.base.Worker``.
This alternative syntax will load the gevent class: This alternative syntax will load the gevent class:
``gunicorn.workers.ggevent.GeventWorker``. Alternatively, the syntax ``gunicorn.workers.ggevent.GeventWorker``.
can also load the gevent class with ``egg:gunicorn#gevent``.
.. _threads: .. _threads:
@ -671,10 +670,8 @@ The logger you want to use to log events in Gunicorn.
The default class (``gunicorn.glogging.Logger``) handle most of The default class (``gunicorn.glogging.Logger``) handle most of
normal usages in logging. It provides error and access logging. normal usages in logging. It provides error and access logging.
You can provide your own worker by giving Gunicorn a You can provide your own logger by giving Gunicorn a
Python path to a subclass like ``gunicorn.glogging.Logger``. Python path to a subclass like ``gunicorn.glogging.Logger``.
Alternatively the syntax can also load the Logger class
with ``egg:gunicorn#simple``.
.. _logconfig: .. _logconfig:

View File

@ -38,15 +38,10 @@ backlog = 2048
# for information on when you might want to choose one # for information on when you might want to choose one
# of the other worker classes. # of the other worker classes.
# #
# An string referring to a 'gunicorn.workers' entry point # A string referring to a Python path to a subclass of
# or a python path to a subclass of
# gunicorn.workers.base.Worker. The default provided values # gunicorn.workers.base.Worker. The default provided values
# are: # can be seen at
# # http://docs.gunicorn.org/en/latest/settings.html#worker-class
# egg:gunicorn#sync
# egg:gunicorn#eventlet - Requires eventlet >= 0.9.7
# egg:gunicorn#gevent - Requires gevent >= 0.12.2 (?)
# egg:gunicorn#tornado - Requires tornado >= 0.2
# #
# worker_connections - For the eventlet and gevent worker classes # worker_connections - For the eventlet and gevent worker classes
# this limits the maximum number of simultaneous clients that # this limits the maximum number of simultaneous clients that

View File

@ -632,8 +632,7 @@ class WorkerClass(Setting):
Optionally, you can provide your own worker by giving Gunicorn a Optionally, you can provide your own worker by giving Gunicorn a
Python path to a subclass of ``gunicorn.workers.base.Worker``. Python path to a subclass of ``gunicorn.workers.base.Worker``.
This alternative syntax will load the gevent class: This alternative syntax will load the gevent class:
``gunicorn.workers.ggevent.GeventWorker``. Alternatively, the syntax ``gunicorn.workers.ggevent.GeventWorker``.
can also load the gevent class with ``egg:gunicorn#gevent``.
""" """
class WorkerThreads(Setting): class WorkerThreads(Setting):
@ -1249,10 +1248,8 @@ class LoggerClass(Setting):
The default class (``gunicorn.glogging.Logger``) handle most of The default class (``gunicorn.glogging.Logger``) handle most of
normal usages in logging. It provides error and access logging. normal usages in logging. It provides error and access logging.
You can provide your own worker by giving Gunicorn a You can provide your own logger by giving Gunicorn a
Python path to a subclass like ``gunicorn.glogging.Logger``. Python path to a subclass like ``gunicorn.glogging.Logger``.
Alternatively the syntax can also load the Logger class
with ``egg:gunicorn#simple``.
""" """