]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:15 +0000 (16:29 +0100)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 15:29:15 +0000 (16:29 +0100)
commit2aea0e967a28aa1dc7729e28dd36dd9abf50e24b
tree611898f714c8c9292b0770f1778290c52c630e82
parentfa7d8e97c2a604fcd2c4f44815e83c9742ad2177
[3.12] gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567) (#114018)

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]