]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-111872: Document the max_children attribute for `socketserver.ForkingMixIn` (...
authorAN Long <aisk@users.noreply.github.com>
Wed, 3 Jul 2024 07:46:57 +0000 (15:46 +0800)
committerGitHub <noreply@github.com>
Wed, 3 Jul 2024 07:46:57 +0000 (13:16 +0530)
Doc/library/socketserver.rst

index f1f87ea975ca42754537e4f2a02986f6d3180b0a..69f06e6cf4d923502e3c0e647369df7e3702bc09 100644 (file)
@@ -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