From ff5751a208e05f9d054b6df44f7651b64d415908 Mon Sep 17 00:00:00 2001 From: AN Long Date: Wed, 3 Jul 2024 15:46:57 +0800 Subject: gh-111872: Document the max_children attribute for `socketserver.ForkingMixIn` (#118134) --- Doc/library/socketserver.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12