Skip to content

[3.12] gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567) #114018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 13, 2024

Increase the backlog for multiprocessing.connection.Listenerobjects created bymultiprocessing.managerandmultiprocessing.resource_sharerto significantly reduce the risk of getting a connection refused error when creating amultiprocessing.connection.Connection` to them.
(cherry picked from commit c7d59bd)

Co-authored-by: Ronald Oussoren [email protected]

…cessing.connection.Listener (pythonGH-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 c7d59bd)

Co-authored-by: Ronald Oussoren <[email protected]>
@ronaldoussoren ronaldoussoren merged commit 2aea0e9 into python:3.12 Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants