gaogaotiantian commented on code in PR #53476:
URL: https://github.com/apache/spark/pull/53476#discussion_r2621135845
##########
core/src/main/scala/org/apache/spark/api/python/PythonWorkerFactory.scala:
##########
@@ -168,6 +168,22 @@ private[spark] class PythonWorkerFactory(
} else {
SocketChannel.open(new InetSocketAddress(daemonHost, daemonPort))
}
+
+ val serverSelector = Selector.open()
+ try {
+ val timeOutMs = 60 * 1000
Review Comment:
Simple worker timeout is not configurable either. This is more like a safety
net - we can make it configurable later if there's a real need for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]