mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #918 from menghan/remove-deprecated
Remove deprecated option --debug, fix #917
This commit is contained in:
commit
9e36c54c3d
@ -244,17 +244,6 @@ on the allowed size of an HTTP request header field.
|
|||||||
Debugging
|
Debugging
|
||||||
---------
|
---------
|
||||||
|
|
||||||
debug
|
|
||||||
~~~~~
|
|
||||||
|
|
||||||
* ``--debug``
|
|
||||||
* ``False``
|
|
||||||
|
|
||||||
Turn on debugging in the server.
|
|
||||||
|
|
||||||
**DEPRECATED**: This no functionality was removed after v18.0.
|
|
||||||
This option is now a no-op.
|
|
||||||
|
|
||||||
reload
|
reload
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
@ -959,3 +948,11 @@ statsd_host
|
|||||||
|
|
||||||
host:port of the statsd server to log to
|
host:port of the statsd server to log to
|
||||||
|
|
||||||
|
statsd_prefix
|
||||||
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* ``--statsd-prefix STATSD_PREFIX``
|
||||||
|
* ````
|
||||||
|
|
||||||
|
prefix to use when emitting statsd metrics (a trailing . is added, if not provided)
|
||||||
|
|
||||||
|
|||||||
@ -75,14 +75,6 @@ worker_connections = 1000
|
|||||||
timeout = 30
|
timeout = 30
|
||||||
keepalive = 2
|
keepalive = 2
|
||||||
|
|
||||||
#
|
|
||||||
# Debugging
|
|
||||||
#
|
|
||||||
# debug - Turn on debugging in the server. This limits the number of
|
|
||||||
# worker processes to 1 and changes some error handling that's
|
|
||||||
# sent to clients.
|
|
||||||
#
|
|
||||||
# True or False
|
|
||||||
#
|
#
|
||||||
# spew - Install a trace function that spews every line of Python
|
# spew - Install a trace function that spews every line of Python
|
||||||
# that is executed when running the server. This is the
|
# that is executed when running the server. This is the
|
||||||
@ -91,7 +83,6 @@ keepalive = 2
|
|||||||
# True or False
|
# True or False
|
||||||
#
|
#
|
||||||
|
|
||||||
debug = False
|
|
||||||
spew = False
|
spew = False
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@ -755,21 +755,6 @@ class LimitRequestFieldSize(Setting):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class Debug(Setting):
|
|
||||||
name = "debug"
|
|
||||||
section = "Debugging"
|
|
||||||
cli = ["--debug"]
|
|
||||||
validator = validate_bool
|
|
||||||
action = "store_true"
|
|
||||||
default = False
|
|
||||||
desc = """\
|
|
||||||
Turn on debugging in the server.
|
|
||||||
|
|
||||||
**DEPRECATED**: This no functionality was removed after v18.0.
|
|
||||||
This option is now a no-op.
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
class Reload(Setting):
|
class Reload(Setting):
|
||||||
name = "reload"
|
name = "reload"
|
||||||
section = 'Debugging'
|
section = 'Debugging'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user