]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101225: Increase the socket backlog when creating a multiprocessing.connection...
authorRonald Oussoren <ronaldoussoren@mac.com>
Sat, 13 Jan 2024 09:48:33 +0000 (10:48 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Jan 2024 09:48:33 +0000 (10:48 +0100)
commitc7d59bd8cfa053e77ae3446c82afff1fd38a4886
treed2f46697d8bb6bb6e57c07dce3f37bf6497e3993
parent21f83efd106a19f1d26e049c06678a6729a721f0
gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (#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.
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]