]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-101225: Increase the socket backlog when creating a multiprocessing.connect...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 14 Jan 2024 15:29:30 +0000 (16:29 +0100)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 15:29:30 +0000 (16:29 +0100)
commit6fa6a6180571d0928c3d867edd3ea0eb2ee0357c
treec427124759d9f53528eeabfe9fcfa6dc68c3d8d8
parent0d12a64eafd22ed28d0764c9c89f82229a87818c
[3.11] gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567) (#114019)

gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567)

Increase the backlog for multiprocessing.connection.Listener` objects created
 by `multiprocessing.manager` and `multiprocessing.resource_sharer` to
 significantly reduce the risk of getting a connection refused error when creating
 a `multiprocessing.connection.Connection` to them.
(cherry picked from commit c7d59bd8cfa053e77ae3446c82afff1fd38a4886)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Lib/multiprocessing/managers.py
Lib/multiprocessing/resource_sharer.py
Misc/NEWS.d/next/Library/2023-12-29-17-46-06.gh-issue-101225.QaEyxF.rst [new file with mode: 0644]