summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-12-23 18:07:58 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-12-23 18:07:58 (GMT)
commit78c1b42fdee9bf1991f5486c51917b0e6b50d0ef (patch)
treecec4aa7d4af03d39df2407468e18864ed3f8e471 /Lib/multiprocessing
parent8b759655d0acab20d6a216400ea0c45bef8d5ab6 (diff)
parentfe8039b3e5748f0e709592e6e5e158ec48068937 (diff)
downloadcpython-78c1b42fdee9bf1991f5486c51917b0e6b50d0ef.zip
cpython-78c1b42fdee9bf1991f5486c51917b0e6b50d0ef.tar.gz
cpython-78c1b42fdee9bf1991f5486c51917b0e6b50d0ef.tar.bz2
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/managers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
index 5cae4c1..eaf912c 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -158,7 +158,7 @@ class Server(object):
Listener, Client = listener_client[serializer]
# do authentication later
- self.listener = Listener(address=address, backlog=5)
+ self.listener = Listener(address=address, backlog=16)
self.address = self.listener.address
self.id_to_obj = {'0': (None, ())}