mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2292 from di/document-infinite-timouts
Document --timeout 0
This commit is contained in:
commit
b2dc036463
@ -1328,10 +1328,14 @@ timeout
|
|||||||
|
|
||||||
Workers silent for more than this many seconds are killed and restarted.
|
Workers silent for more than this many seconds are killed and restarted.
|
||||||
|
|
||||||
Generally set to thirty seconds. Only set this noticeably higher if
|
Value is a positive number or 0. Setting it to 0 has the effect of
|
||||||
you're sure of the repercussions for sync workers. For the non sync
|
infinite timeouts by disabling timeouts for all workers entirely.
|
||||||
workers it just means that the worker process is still communicating and
|
|
||||||
is not tied to the length of time required to handle a single request.
|
Generally, the default of thirty seconds should suffice. Only set this
|
||||||
|
noticeably higher if you're sure of the repercussions for sync workers.
|
||||||
|
For the non sync workers it just means that the worker process is still
|
||||||
|
communicating and is not tied to the length of time required to handle a
|
||||||
|
single request.
|
||||||
|
|
||||||
.. _graceful-timeout:
|
.. _graceful-timeout:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user