mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Update documentation to indicate inotify requirement for reloader
This commit is contained in:
parent
92d48256e4
commit
b98205f896
@ -255,8 +255,8 @@ Debugging
|
||||
reload
|
||||
~~~~~~
|
||||
|
||||
* ``--reload``
|
||||
* ``False``
|
||||
* ``--reload RELOADER_TYPE``
|
||||
* ``None``
|
||||
|
||||
Restart workers when code changes.
|
||||
|
||||
@ -267,6 +267,15 @@ The reloader is incompatible with application preloading. When using a
|
||||
paste configuration be sure that the server block does not import any
|
||||
application code or the reload will not work as designed.
|
||||
|
||||
When using this option, you can optionally specify whether you would
|
||||
like to use file system polling or the kernel's inotify API to watch
|
||||
for changes. Generally, inotify should be preferred if available
|
||||
because it consumes less system resources. If no preference is given,
|
||||
inotify will attempted with a fallback to FS polling.
|
||||
|
||||
Note: In order to use the inotify reloader, you must have the 'inotify'
|
||||
package installed.
|
||||
|
||||
spew
|
||||
~~~~
|
||||
|
||||
|
||||
@ -823,6 +823,7 @@ class Reload(Setting):
|
||||
nargs = '?'
|
||||
const = 'default'
|
||||
default = None
|
||||
meta = 'RELOADER_TYPE'
|
||||
|
||||
desc = '''\
|
||||
Restart workers when code changes.
|
||||
@ -838,7 +839,10 @@ class Reload(Setting):
|
||||
like to use file system polling or the kernel's inotify API to watch
|
||||
for changes. Generally, inotify should be preferred if available
|
||||
because it consumes less system resources. If no preference is given,
|
||||
inotify will attempted with a fallback to FS polling.'
|
||||
inotify will attempted with a fallback to FS polling.
|
||||
|
||||
Note: In order to use the inotify reloader, you must have the 'inotify'
|
||||
package installed.
|
||||
'''
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user