From d43399796a27dc1ca0f4cb3e4c953962b7bebbdb Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Thu, 14 May 2020 18:16:03 -0500 Subject: [PATCH] Update desc for Timeout --- gunicorn/config.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gunicorn/config.py b/gunicorn/config.py index 0a0c9a3e..da580322 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -774,10 +774,14 @@ class Timeout(Setting): desc = """\ 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. """