8000 gh-111872: Document the max_children attribute for `socketserver.Fork… · python/cpython@ff5751a · GitHub
[go: up one dir, main page]

Skip to content

Commit ff5751a

Browse files
authored
gh-111872: Document the max_children attribute for socketserver.ForkingMixIn (#118134)
1 parent 705a123 commit ff5751a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/library/socketserver.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ server is the address family.
126126
waits until all non-daemon threads complete, except if
127127
:attr:`block_on_close` attribute is ``False``.
128128

129+
.. attribute:: max_children
130+
131+
Specify how many child processes will exist to handle requests at a time
132+
for :class:`ForkingMixIn`. If the limit is reached,
133+
new requests will wait until one child process has finished.
134+
129135
.. attribute:: daemon_threads
130136

131137
For :class:`ThreadingMixIn` use daemonic threads by setting

0 commit comments

Comments
 (0)
0