HyukjinKwon commented on code in PR #54279:
URL: https://github.com/apache/spark/pull/54279#discussion_r2801778577


##########
python/pyspark/sql/connect/client/core.py:
##########
@@ -1276,7 +1276,7 @@ def close(self) -> None:
         """
         Close the channel.
         """
-        concurrent.futures.wait(self._release_futures)
+        concurrent.futures.wait(self._release_futures, timeout=10)

Review Comment:
   @juliuszsompolski WDYT? IIRC, the server side will clean up automatically if 
they aren't used for the certain time so maybe this is fine. I wonder if we can 
have a clever number of secs though.



-- 
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]

Reply via email to