mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
bd19be1b61
commit
9fad8ab6f5
@ -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
|
||||
Python path to a subclass of ``gunicorn.workers.base.Worker``.
|
||||
This alternative syntax will load the gevent class:
|
||||
``gunicorn.workers.ggevent.GeventWorker``. Alternatively, the syntax
|
||||
can also load the gevent class with ``egg:gunicorn#gevent``.
|
||||
``gunicorn.workers.ggevent.GeventWorker``.
|
||||
|
||||
.. _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
|
||||
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``.
|
||||
Alternatively the syntax can also load the Logger class
|
||||
with ``egg:gunicorn#simple``.
|
||||
|
||||
.. _logconfig:
|
||||
|
||||
|
||||
@ -38,15 +38,10 @@ backlog = 2048
|
||||
# for information on when you might want to choose one
|
||||
# of the other worker classes.
|
||||
#
|
||||
# An string referring to a 'gunicorn.workers' entry point
|
||||
# or a python path to a subclass of
|
||||
# A string referring to a Python path to a subclass of
|
||||
# gunicorn.workers.base.Worker. The default provided values
|
||||
# are:
|
||||
#
|
||||
# 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
|
||||
# can be seen at
|
||||
# http://docs.gunicorn.org/en/latest/settings.html#worker-class
|
||||
#
|
||||
# worker_connections - For the eventlet and gevent worker classes
|
||||
# this limits the maximum number of simultaneous clients that
|
||||
|
||||
@ -632,8 +632,7 @@ class WorkerClass(Setting):
|
||||
Optionally, you can provide your own worker by giving Gunicorn a
|
||||
Python path to a subclass of ``gunicorn.workers.base.Worker``.
|
||||
This alternative syntax will load the gevent class:
|
||||
``gunicorn.workers.ggevent.GeventWorker``. Alternatively, the syntax
|
||||
can also load the gevent class with ``egg:gunicorn#gevent``.
|
||||
``gunicorn.workers.ggevent.GeventWorker``.
|
||||
"""
|
||||
|
||||
class WorkerThreads(Setting):
|
||||
@ -1249,10 +1248,8 @@ class LoggerClass(Setting):
|
||||
The default class (``gunicorn.glogging.Logger``) handle most of
|
||||
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``.
|
||||
Alternatively the syntax can also load the Logger class
|
||||
with ``egg:gunicorn#simple``.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user