Document --timeout 0

This commit is contained in:
Dustin Ingram 2020-03-16 17:29:07 -05:00
parent 8cb2bd2329
commit 57b8cdffae
No known key found for this signature in database
GPG Key ID: 93D2B8D4930A5E39

View File

@ -1318,10 +1318,14 @@ timeout
Workers silent for more than this many seconds are killed and restarted.
Generally set to thirty seconds. 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.
Value is a positive number or 0. Setting it to 0 has the effect of
infinite timeouts by disabling timeouts for all workers entirely.
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: