mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
remove option --debug and update documents
This commit is contained in:
parent
9966db109e
commit
51bd1b12a1
@ -244,17 +244,6 @@ on the allowed size of an HTTP request header field.
|
||||
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
|
||||
~~~~~~
|
||||
|
||||
@ -959,3 +948,11 @@ statsd_host
|
||||
|
||||
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
|
||||
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
|
||||
# that is executed when running the server. This is the
|
||||
@ -91,7 +83,6 @@ keepalive = 2
|
||||
# True or False
|
||||
#
|
||||
|
||||
debug = 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):
|
||||
name = "reload"
|
||||
section = 'Debugging'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user