mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
This commit is contained in:
commit
78c1b42fde
@ -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, ())}
|
||||
|
Loading…
Reference in New Issue
Block a user