summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorCharles-François Natali <cf.natali@gmail.com>2014-07-23 18:28:13 (GMT)
committerCharles-François Natali <cf.natali@gmail.com>2014-07-23 18:28:13 (GMT)
commit6e20460dc6356d213e816bbbd8dc6a336c83bbd0 (patch)
tree03871af1970c99a2ec09229730dac0cce4053586 /Lib/multiprocessing
parent8518b79a8d13920c06a5cdccd255944f2187f62f (diff)
downloadcpython-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.zip
cpython-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.tar.gz
cpython-6e20460dc6356d213e816bbbd8dc6a336c83bbd0.tar.bz2
Issue #21566: Make use of socket.listen() default backlog.
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/forkserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/forkserver.py b/Lib/multiprocessing/forkserver.py
index 387517e..5c0a1bd 100644
--- a/Lib/multiprocessing/forkserver.py
+++ b/Lib/multiprocessing/forkserver.py
@@ -107,7 +107,7 @@ class ForkServer(object):
address = connection.arbitrary_address('AF_UNIX')
listener.bind(address)
os.chmod(address, 0o600)
- listener.listen(100)
+ listener.listen()
# all client processes own the write end of the "alive" pipe;
# when they all terminate the read end becomes ready.