https://github.com/python/cpython/commit/ff5751a208e05f9d054b6df44f7651b64d415908
commit: ff5751a208e05f9d054b6df44f7651b64d415908
branch: main
author: AN Long <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-07-03T13:16:57+05:30
summary:
gh-111872: Document the max_children attribute for `socketserver.ForkingMixIn`
(#118134)
files:
M Doc/library/socketserver.rst
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst
index f1f87ea975ca42..69f06e6cf4d923 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]