mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix reST format in docs
This commit is contained in:
parent
4c3ee6f4ec
commit
2bcec7fd0c
@ -51,6 +51,8 @@ def fmt_setting(s):
|
|||||||
val = inspect.getsource(s.default)
|
val = inspect.getsource(s.default)
|
||||||
val = "\n".join(" %s" % l for l in val.splitlines())
|
val = "\n".join(" %s" % l for l in val.splitlines())
|
||||||
val = " ::\n\n" + val
|
val = " ::\n\n" + val
|
||||||
|
elif s.default == '':
|
||||||
|
val = "``(empty string)``"
|
||||||
else:
|
else:
|
||||||
val = "``%s``" % s.default
|
val = "``%s``" % s.default
|
||||||
|
|
||||||
|
|||||||
@ -45,7 +45,7 @@ Testing
|
|||||||
|
|
||||||
- fix tornado worker (:issue:`1154`)
|
- fix tornado worker (:issue:`1154`)
|
||||||
|
|
||||||
19.4.0 / 2015/11/20
|
19.4.0 / 2015/11/20
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Core
|
Core
|
||||||
@ -140,9 +140,6 @@ Misc
|
|||||||
19.3.0 / 2015/03/06
|
19.3.0 / 2015/03/06
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Changes
|
|
||||||
-------
|
|
||||||
|
|
||||||
Core
|
Core
|
||||||
++++
|
++++
|
||||||
|
|
||||||
@ -167,9 +164,6 @@ Documentation
|
|||||||
19.2.1 / 2015/02/4
|
19.2.1 / 2015/02/4
|
||||||
==================
|
==================
|
||||||
|
|
||||||
Changes
|
|
||||||
-------
|
|
||||||
|
|
||||||
Logging
|
Logging
|
||||||
+++++++
|
+++++++
|
||||||
|
|
||||||
@ -188,9 +182,6 @@ Documentation
|
|||||||
19.2 / 2015/01/30
|
19.2 / 2015/01/30
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Changes
|
|
||||||
-------
|
|
||||||
|
|
||||||
Core
|
Core
|
||||||
++++
|
++++
|
||||||
|
|
||||||
|
|||||||
@ -14,9 +14,9 @@ Core & Logging
|
|||||||
|
|
||||||
- improvement of the binary upgrade behaviour using USR2: remove file locking (:issue:`1270`)
|
- improvement of the binary upgrade behaviour using USR2: remove file locking (:issue:`1270`)
|
||||||
- add the ``--capture-output`` setting to capture stdout/stderr tot the log
|
- add the ``--capture-output`` setting to capture stdout/stderr tot the log
|
||||||
file (:issue:`1271`)
|
file (:issue:`1271`)
|
||||||
- Allow disabling ``sendfile()`` via the ``SENDFILE`` environment variable
|
- Allow disabling ``sendfile()`` via the ``SENDFILE`` environment variable
|
||||||
(:issue:`1252`)
|
(:issue:`1252`)
|
||||||
- fix reload under pycharm (:issue:`1129`)
|
- fix reload under pycharm (:issue:`1129`)
|
||||||
|
|
||||||
Workers
|
Workers
|
||||||
@ -24,7 +24,7 @@ Workers
|
|||||||
|
|
||||||
- fix: make sure to remove the signal from the worker pipe (:issue:`1269`)
|
- fix: make sure to remove the signal from the worker pipe (:issue:`1269`)
|
||||||
- fix: **gthread** worker, handle removed socket in the select loop
|
- fix: **gthread** worker, handle removed socket in the select loop
|
||||||
(:issue:`1258`)
|
(:issue:`1258`)
|
||||||
|
|
||||||
19.5.0 / 2016/05/10
|
19.5.0 / 2016/05/10
|
||||||
===================
|
===================
|
||||||
|
|||||||
@ -150,6 +150,11 @@ If it is not defined, the default is ``1``.
|
|||||||
|
|
||||||
This setting only affects the Gthread worker type.
|
This setting only affects the Gthread worker type.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
If you try to use the ``sync`` worker type and set the ``threads``
|
||||||
|
setting to more than 1, the ``gthread`` worker type will be used
|
||||||
|
instead.
|
||||||
|
|
||||||
.. _worker-connections:
|
.. _worker-connections:
|
||||||
|
|
||||||
worker_connections
|
worker_connections
|
||||||
@ -618,8 +623,8 @@ The Access log file to write to.
|
|||||||
|
|
||||||
.. _disable-redirect-access-to-syslog:
|
.. _disable-redirect-access-to-syslog:
|
||||||
|
|
||||||
disable-redirect-access-to-syslog
|
disable_redirect_access_to_syslog
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* ``--disable-redirect-access-to-syslog``
|
* ``--disable-redirect-access-to-syslog``
|
||||||
* ``False``
|
* ``False``
|
||||||
@ -826,7 +831,7 @@ statsd_prefix
|
|||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
* ``--statsd-prefix STATSD_PREFIX``
|
* ``--statsd-prefix STATSD_PREFIX``
|
||||||
* ````
|
* ``(empty string)``
|
||||||
|
|
||||||
Prefix to use when emitting statsd metrics (a trailing ``.`` is added,
|
Prefix to use when emitting statsd metrics (a trailing ``.`` is added,
|
||||||
if not provided).
|
if not provided).
|
||||||
@ -1271,3 +1276,4 @@ The variables are passed to the the PasteDeploy entrypoint. Example::
|
|||||||
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
||||||
|
|
||||||
.. versionadded:: 19.7
|
.. versionadded:: 19.7
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user