Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
This commit is contained in:
parent
139c457106
commit
b40827d379
|
@ -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, ())}
|
||||
|
|
Loading…
Reference in New Issue