summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-12-23 18:05:45 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-12-23 18:05:45 (GMT)
commitb40827d3795e8b2e79d99198dd05c639be4b9e4d (patch)
treebce5cd20d6bf8ba516e7d5b1a4215473d158bb01 /Lib/multiprocessing
parent139c457106b0230b3a0e16d4865f0d195c9c6014 (diff)
downloadcpython-b40827d3795e8b2e79d99198dd05c639be4b9e4d.zip
cpython-b40827d3795e8b2e79d99198dd05c639be4b9e4d.tar.gz
cpython-b40827d3795e8b2e79d99198dd05c639be4b9e4d.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 78518fd..ffe5812 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -159,7 +159,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, ())}