summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing/managers.py
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-12-23 18:06:48 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-12-23 18:06:48 (GMT)
commitfe8039b3e5748f0e709592e6e5e158ec48068937 (patch)
treebfed786d9581c45f7956b01525322c0a6ff4b542 /Lib/multiprocessing/managers.py
parent3075549d537cc5e25a11efeae013663b4ad91b8f (diff)
downloadcpython-fe8039b3e5748f0e709592e6e5e158ec48068937.zip
cpython-fe8039b3e5748f0e709592e6e5e158ec48068937.tar.gz
cpython-fe8039b3e5748f0e709592e6e5e158ec48068937.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/managers.py')
-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 5a57288..5588ead 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -162,7 +162,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, ())}