diff options
author | AN Long <aisk@users.noreply.github.com> | 2024-07-03 07:46:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 07:46:57 (GMT) |
commit | ff5751a208e05f9d054b6df44f7651b64d415908 (patch) | |
tree | 5a1d485508e168f343d8b2c87fee1dbde2f4fa02 /Doc/library/socketserver.rst | |
parent | 705a123898f1394b62076c00ab6008c18fd8e115 (diff) | |
download | cpython-ff5751a208e05f9d054b6df44f7651b64d415908.zip cpython-ff5751a208e05f9d054b6df44f7651b64d415908.tar.gz cpython-ff5751a208e05f9d054b6df44f7651b64d415908.tar.bz2 |
gh-111872: Document the max_children attribute for `socketserver.ForkingMixIn` (#118134)
Diffstat (limited to 'Doc/library/socketserver.rst')
-rw-r--r-- | Doc/library/socketserver.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst index f1f87ea..69f06e6 100644 --- a/Doc/library/socketserver.rst +++ b/Doc/library/socketserver.rst @@ -126,6 +126,12 @@ server is the address family. waits until all non-daemon threads complete, except if :attr:`block_on_close` attribute is ``False``. + .. attribute:: max_children + + Specify how many child processes will exist to handle requests at a time + for :class:`ForkingMixIn`. If the limit is reached, + new requests will wait until one child process has finished. + .. attribute:: daemon_threads For :class:`ThreadingMixIn` use daemonic threads by setting |