From 57b8cdffae9840faa4636d351b85342b44af2344 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Mon, 16 Mar 2020 17:29:07 -0500 Subject: [PATCH] Document --timeout 0 --- docs/source/settings.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 01d49883..8bb6c581 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -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: