Skip to content

Commit

Permalink
Merge pull request #1137 from abesto/doc/graceful_timeout
Browse files Browse the repository at this point in the history
Clarify documentation of graceful_timeout
  • Loading branch information
berkerpeksag committed Nov 2, 2015
2 parents d922df3 + f1bb034 commit eb29a44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/source/settings.rst
Expand Up @@ -185,9 +185,9 @@ graceful_timeout

Timeout for graceful workers restart.

Generally set to thirty seconds. How max time worker can handle
request after got restart signal. If the time is up worker will
be force killed.
After receiving a restart signal, workers have this much time to finish
serving requests. Workers still alive after the timeout (starting from
the receipt of the restart signal) are force killed.

keepalive
~~~~~~~~~
Expand Down
6 changes: 3 additions & 3 deletions gunicorn/config.py
Expand Up @@ -681,9 +681,9 @@ class GracefulTimeout(Setting):
desc = """\
Timeout for graceful workers restart.
Generally set to thirty seconds. How max time worker can handle
request after got restart signal. If the time is up worker will
be force killed.
After receiving a restart signal, workers have this much time to finish
serving requests. Workers still alive after the timeout (starting from
the receipt of the restart signal) are force killed.
"""


Expand Down

0 comments on commit eb29a44

Please sign in to comment.