Issue #13565: Increase multiprocessing's server socket backlog, to avoid

dropped connections in case of simultaneous connection requests.
This commit is contained in:
Charles-François Natali 2011-12-23 19:07:58 +01:00
commit 78c1b42fde

View File

@ -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, ())}