mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
allow --reload without any value (#1416)
The documentation suggests that the value is optional, but without this change it is not.
This commit is contained in:
parent
ee47b0030d
commit
8dbb2963b2
@ -822,8 +822,10 @@ class Reload(Setting):
|
|||||||
section = 'Debugging'
|
section = 'Debugging'
|
||||||
cli = ['--reload']
|
cli = ['--reload']
|
||||||
validator = validate_reloader
|
validator = validate_reloader
|
||||||
|
const = 'auto'
|
||||||
default = 'off'
|
default = 'off'
|
||||||
meta = 'RELOADER_TYPE'
|
meta = 'RELOADER_TYPE'
|
||||||
|
nargs = '?'
|
||||||
|
|
||||||
desc = '''\
|
desc = '''\
|
||||||
Restart workers when code changes.
|
Restart workers when code changes.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user