Skip to content

Commit

Permalink
Merge pull request tornadoweb#2772 from ploxiln/fork_doc_exit
Browse files Browse the repository at this point in the history
process: correct docs of fork_processes exit behavior
  • Loading branch information
bdarnell authored Nov 12, 2019
2 parents 984aba0 + a761eff commit 682ff8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tornado/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ def fork_processes(
number between 0 and ``num_processes``. Processes that exit
abnormally (due to a signal or non-zero exit status) are restarted
with the same id (up to ``max_restarts`` times). In the parent
process, ``fork_processes`` returns None if all child processes
have exited normally, but will otherwise only exit by throwing an
exception.
process, ``fork_processes`` calls ``sys.exit(0)`` after all child
processes have exited normally.
max_restarts defaults to 100.
Expand Down

0 comments on commit 682ff8d

Please sign in to comment.