mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-111872: Document the max_children attribute for socketserver.ForkingMixIn
(#118134)
This commit is contained in:
parent
705a123898
commit
ff5751a208
1 changed files with 6 additions and 0 deletions
|
@ -126,6 +126,12 @@ server is the address family.
|
||||||
waits until all non-daemon threads complete, except if
|
waits until all non-daemon threads complete, except if
|
||||||
:attr:`block_on_close` attribute is ``False``.
|
: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
|
.. attribute:: daemon_threads
|
||||||
|
|
||||||
For :class:`ThreadingMixIn` use daemonic threads by setting
|
For :class:`ThreadingMixIn` use daemonic threads by setting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue