mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add a versionadded directive to the sendfile documentation.
This commit is contained in:
parent
2f226acda4
commit
c152ce0dd0
@ -293,6 +293,16 @@ speed up server boot times. Although, if you defer application loading
|
|||||||
to each worker process, you can reload your application code easily by
|
to each worker process, you can reload your application code easily by
|
||||||
restarting workers.
|
restarting workers.
|
||||||
|
|
||||||
|
sendfile
|
||||||
|
~~~~~~~~
|
||||||
|
|
||||||
|
* ``--sendfile``
|
||||||
|
* ``True``
|
||||||
|
|
||||||
|
Enables or disables the use of ``sendfile()``.
|
||||||
|
|
||||||
|
.. versionadded:: 19.2
|
||||||
|
|
||||||
chdir
|
chdir
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
|
|||||||
@ -824,7 +824,9 @@ class Sendfile(Setting):
|
|||||||
action = "store_true"
|
action = "store_true"
|
||||||
default = True
|
default = True
|
||||||
desc = """\
|
desc = """\
|
||||||
Enables or disables the use of sendfile().
|
Enables or disables the use of ``sendfile()``.
|
||||||
|
|
||||||
|
.. versionadded:: 19.2
|
||||||
"""
|
"""
|
||||||
|
|
||||||
class Chdir(Setting):
|
class Chdir(Setting):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user