Skip to content

Commit 823b50e

Browse files
[3.13] gh-115634: document ProcessPoolExecutor max_tasks_per_child bug (GH-140897) (#143303)
gh-115634: document ProcessPoolExecutor max_tasks_per_child bug (GH-140897) (cherry picked from commit 04899b8) Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
1 parent 4d42e1c commit 823b50e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/concurrent.futures.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,11 @@ in a REPL or a lambda should not be expected to work.
278278
default in absence of a *mp_context* parameter. This feature is incompatible
279279
with the "fork" start method.
280280

281+
.. note::
282+
Bugs have been reported when using the *max_tasks_per_child* feature that
283+
can result in the :class:`ProcessPoolExecutor` hanging in some
284+
circumstances. Follow its eventual resolution in :gh:`115634`.
285+
281286
.. versionchanged:: 3.3
282287
When one of the worker processes terminates abruptly, a
283288
:exc:`~concurrent.futures.process.BrokenProcessPool` error is now raised.

0 commit comments

Comments
 (0)