[Python-checkins] cpython (merge 3.2 -> default): Issue #13565: Increase multiprocessing's server socket backlog, to avoid
charles-francois.natali
python-checkins at python.org
Fri Dec 23 19:10:54 CET 2011
http://hg.python.org/cpython/rev/29cad1ac828c
changeset: 74145:29cad1ac828c
parent: 74142:683a1b1ff15d
parent: 74144:9b99adef3c78
user: Charles-François Natali <neologix at free.fr>
date: Fri Dec 23 19:07:58 2011 +0100
summary:
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
files:
Lib/multiprocessing/managers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -158,7 +158,7 @@
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, ())}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list