We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d07d21d commit b0c4483Copy full SHA for b0c4483
python/pyspark/taskcontext.py
@@ -110,6 +110,8 @@ def _load_from_socket(port, auth_secret):
110
connection has been closed.
111
"""
112
(sockfile, sock) = local_connect_and_auth(port, auth_secret)
113
+ # The barrier() call may block forever, so no timeout
114
+ sock.settimeout(None)
115
# Make a barrier() function call.
116
write_int(BARRIER_FUNCTION, sockfile)
117
sockfile.flush()
0 commit comments