mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #943 from BFriedland/copyedits
Fixed typos/copyediting
This commit is contained in:
commit
469b97a8b7
@ -33,7 +33,8 @@ Or from PyPI::
|
|||||||
|
|
||||||
You may also want to install Eventlet_ or Gevent_ if you expect that your
|
You may also want to install Eventlet_ or Gevent_ if you expect that your
|
||||||
application code may need to pause for extended periods of time during
|
application code may need to pause for extended periods of time during
|
||||||
request processing. If you're on Python 3 you may also consider one othe Asyncio_ workers. Check out the FAQ_ for more information on when you'll
|
request processing. If you're on Python 3 you may also consider one of
|
||||||
|
the Asyncio_ workers. Check out the FAQ_ for more information on when you'll
|
||||||
want to consider one of the alternate worker types.
|
want to consider one of the alternate worker types.
|
||||||
|
|
||||||
To install eventlet::
|
To install eventlet::
|
||||||
|
|||||||
@ -32,10 +32,9 @@ Core
|
|||||||
Logging
|
Logging
|
||||||
+++++++
|
+++++++
|
||||||
|
|
||||||
- fix `#838 <https://github.com/benoitc/gunicorn/issues/838>`_: statsd logegr, send statsd timing metrics in milliseconds
|
- fix `#838 <https://github.com/benoitc/gunicorn/issues/838>`_: statsd logger, send statsd timing metrics in milliseconds
|
||||||
- fix `#839 <https://github.com/benoitc/gunicorn/issues/839>`_: statsd logger, allows for empty log message while pushing metrics and restore worker number in DEBUG logs
|
- fix `#839 <https://github.com/benoitc/gunicorn/issues/839>`_: statsd logger, allows for empty log message while pushing metrics and restore worker number in DEBUG logs
|
||||||
- fix `#850 <https://github.com/benoitc/gunicorn/issues/850>`_: add
|
- fix `#850 <https://github.com/benoitc/gunicorn/issues/850>`_: add timezone to logging
|
||||||
timezonw to logging
|
|
||||||
- fix `#853 <https://github.com/benoitc/gunicorn/issues/853>`_: Respect logger_class setting unless statsd is on
|
- fix `#853 <https://github.com/benoitc/gunicorn/issues/853>`_: Respect logger_class setting unless statsd is on
|
||||||
|
|
||||||
AioHttp worker
|
AioHttp worker
|
||||||
@ -186,7 +185,7 @@ core
|
|||||||
- fix logging: don't try to redirect stdout/stderr to the logfile.
|
- fix logging: don't try to redirect stdout/stderr to the logfile.
|
||||||
- fix logging: don't propagate log
|
- fix logging: don't propagate log
|
||||||
- improve logging: file option can be overriden by the gunicorn options `--error-logfile` and `--access-logfile` if they are given.
|
- improve logging: file option can be overriden by the gunicorn options `--error-logfile` and `--access-logfile` if they are given.
|
||||||
- fix: dont' override SERVER_* by the Host header
|
- fix: don't override SERVER_* by the Host header
|
||||||
- fix: handle_error
|
- fix: handle_error
|
||||||
- add more option to configure SSL
|
- add more option to configure SSL
|
||||||
- fix: sendfile with SSL
|
- fix: sendfile with SSL
|
||||||
@ -214,7 +213,7 @@ gevent worker
|
|||||||
- fix: "global name 'hub' is not defined"
|
- fix: "global name 'hub' is not defined"
|
||||||
- fix: reinit `hub` on old versions of gevent
|
- fix: reinit `hub` on old versions of gevent
|
||||||
- support gevent 1.0
|
- support gevent 1.0
|
||||||
- fix: add subprocess in monket patching
|
- fix: add subprocess in monkey patching
|
||||||
- fix: add support for multiple listener
|
- fix: add support for multiple listener
|
||||||
|
|
||||||
eventlet worker
|
eventlet worker
|
||||||
@ -227,4 +226,4 @@ eventlet worker
|
|||||||
tornado worker
|
tornado worker
|
||||||
++++++++++++++
|
++++++++++++++
|
||||||
|
|
||||||
- add gracefull stop support
|
- add graceful stop support
|
||||||
|
|||||||
@ -88,7 +88,7 @@ Does Gunicorn suffer from the thundering herd problem?
|
|||||||
The thundering herd problem occurs when many sleeping request handlers, which
|
The thundering herd problem occurs when many sleeping request handlers, which
|
||||||
may be either threads or processes, wake up at the same time to handle a new
|
may be either threads or processes, wake up at the same time to handle a new
|
||||||
request. Since only one handler will receive the request, the others will have
|
request. Since only one handler will receive the request, the others will have
|
||||||
been awakened for no reaon, wasting CPU cycles. At this time, Gunicorn does not
|
been awakened for no reason, wasting CPU cycles. At this time, Gunicorn does not
|
||||||
implement any IPC solution for coordinating between worker processes. You may
|
implement any IPC solution for coordinating between worker processes. You may
|
||||||
experience high load due to this problem when using many workers or threads.
|
experience high load due to this problem when using many workers or threads.
|
||||||
However `a work has been started <https://github.com/benoitc/gunicorn/issues/792>`_
|
However `a work has been started <https://github.com/benoitc/gunicorn/issues/792>`_
|
||||||
|
|||||||
@ -192,7 +192,7 @@ core
|
|||||||
- fix logging: don't propagate log
|
- fix logging: don't propagate log
|
||||||
- improve logging: file option can be overriden by the gunicorn options
|
- improve logging: file option can be overriden by the gunicorn options
|
||||||
`--error-logfile` and `--access-logfile` if they are given.
|
`--error-logfile` and `--access-logfile` if they are given.
|
||||||
- fix: dont' override SERVER_* by the Host header
|
- fix: don't override SERVER_* by the Host header
|
||||||
- fix: handle_error
|
- fix: handle_error
|
||||||
- add more option to configure SSL
|
- add more option to configure SSL
|
||||||
- fix: sendfile with SSL
|
- fix: sendfile with SSL
|
||||||
@ -220,7 +220,7 @@ gevent worker
|
|||||||
- fix: "global name 'hub' is not defined"
|
- fix: "global name 'hub' is not defined"
|
||||||
- fix: reinit `hub` on old versions of gevent
|
- fix: reinit `hub` on old versions of gevent
|
||||||
- support gevent 1.0
|
- support gevent 1.0
|
||||||
- fix: add subprocess in monket patching
|
- fix: add subprocess in monkey patching
|
||||||
- fix: add support for multiple listener
|
- fix: add support for multiple listener
|
||||||
|
|
||||||
eventlet worker
|
eventlet worker
|
||||||
@ -233,7 +233,7 @@ eventlet worker
|
|||||||
tornado worker
|
tornado worker
|
||||||
++++++++++++++
|
++++++++++++++
|
||||||
|
|
||||||
- add gracefull stop support
|
- add graceful stop support
|
||||||
|
|
||||||
18.0 / 2013-08-26
|
18.0 / 2013-08-26
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@ -275,7 +275,7 @@ check_config
|
|||||||
* ``--check-config``
|
* ``--check-config``
|
||||||
* ``False``
|
* ``False``
|
||||||
|
|
||||||
Check the configuration..
|
Check the configuration.
|
||||||
|
|
||||||
Server Mechanics
|
Server Mechanics
|
||||||
----------------
|
----------------
|
||||||
@ -564,7 +564,7 @@ syslog_prefix
|
|||||||
* ``--log-syslog-prefix SYSLOG_PREFIX``
|
* ``--log-syslog-prefix SYSLOG_PREFIX``
|
||||||
* ``None``
|
* ``None``
|
||||||
|
|
||||||
makes gunicorn use the parameter as program-name in the syslog entries.
|
Makes gunicorn use the parameter as program-name in the syslog entries.
|
||||||
|
|
||||||
All entries will be prefixed by gunicorn.<prefix>. By default the program
|
All entries will be prefixed by gunicorn.<prefix>. By default the program
|
||||||
name is the name of the process.
|
name is the name of the process.
|
||||||
@ -759,7 +759,7 @@ worker_abort
|
|||||||
|
|
||||||
Called when a worker received the SIGABRT signal.
|
Called when a worker received the SIGABRT signal.
|
||||||
|
|
||||||
This call generally happen on timeout.
|
This call generally happens on timeout.
|
||||||
|
|
||||||
The callable needs to accept one instance variable for the initialized
|
The callable needs to accept one instance variable for the initialized
|
||||||
Worker.
|
Worker.
|
||||||
@ -854,8 +854,8 @@ proxy_protocol
|
|||||||
|
|
||||||
Enable detect PROXY protocol (PROXY mode).
|
Enable detect PROXY protocol (PROXY mode).
|
||||||
|
|
||||||
Allow using Http and Proxy together. It's may be useful for work with
|
Allow using Http and Proxy together. It may be useful for work with
|
||||||
stunnel as https frondend and gunicorn as http server.
|
stunnel as https frontend and gunicorn as http server.
|
||||||
|
|
||||||
PROXY protocol: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
|
PROXY protocol: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
|
||||||
|
|
||||||
@ -964,5 +964,5 @@ statsd_prefix
|
|||||||
* ``--statsd-prefix STATSD_PREFIX``
|
* ``--statsd-prefix STATSD_PREFIX``
|
||||||
* ````
|
* ````
|
||||||
|
|
||||||
prefix to use when emitting statsd metrics (a trailing . is added, if not provided)
|
Prefix to use when emitting statsd metrics (a trailing . is added, if not provided)
|
||||||
|
|
||||||
|
|||||||
@ -796,7 +796,7 @@ class ConfigCheck(Setting):
|
|||||||
action = "store_true"
|
action = "store_true"
|
||||||
default = False
|
default = False
|
||||||
desc = """\
|
desc = """\
|
||||||
Check the configuration..
|
Check the configuration.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -1179,7 +1179,7 @@ class SyslogPrefix(Setting):
|
|||||||
validator = validate_string
|
validator = validate_string
|
||||||
default = None
|
default = None
|
||||||
desc = """\
|
desc = """\
|
||||||
makes gunicorn use the parameter as program-name in the syslog entries.
|
Makes gunicorn use the parameter as program-name in the syslog entries.
|
||||||
|
|
||||||
All entries will be prefixed by gunicorn.<prefix>. By default the program
|
All entries will be prefixed by gunicorn.<prefix>. By default the program
|
||||||
name is the name of the process.
|
name is the name of the process.
|
||||||
@ -1423,7 +1423,7 @@ class WorkerAbort(Setting):
|
|||||||
desc = """\
|
desc = """\
|
||||||
Called when a worker received the SIGABRT signal.
|
Called when a worker received the SIGABRT signal.
|
||||||
|
|
||||||
This call generally happen on timeout.
|
This call generally happens on timeout.
|
||||||
|
|
||||||
The callable needs to accept one instance variable for the initialized
|
The callable needs to accept one instance variable for the initialized
|
||||||
Worker.
|
Worker.
|
||||||
@ -1542,8 +1542,8 @@ class ProxyProtocol(Setting):
|
|||||||
desc = """\
|
desc = """\
|
||||||
Enable detect PROXY protocol (PROXY mode).
|
Enable detect PROXY protocol (PROXY mode).
|
||||||
|
|
||||||
Allow using Http and Proxy together. It's may be useful for work with
|
Allow using Http and Proxy together. It may be useful for work with
|
||||||
stunnel as https frondend and gunicorn as http server.
|
stunnel as https frontend and gunicorn as http server.
|
||||||
|
|
||||||
PROXY protocol: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
|
PROXY protocol: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
|
||||||
|
|
||||||
@ -1680,5 +1680,5 @@ class StatsdPrefix(Setting):
|
|||||||
default = ""
|
default = ""
|
||||||
validator = validate_string
|
validator = validate_string
|
||||||
desc = """\
|
desc = """\
|
||||||
prefix to use when emitting statsd metrics (a trailing . is added, if not provided)
|
Prefix to use when emitting statsd metrics (a trailing . is added, if not provided)
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user