Skip to content

Commit

Permalink
Update desc for Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored and berkerpeksag committed May 15, 2020
1 parent 611a314 commit d433997
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions gunicorn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""


Expand Down

0 comments on commit d433997

Please sign in to comment.