grundprinzip commented on code in PR #46993:
URL: https://github.com/apache/spark/pull/46993#discussion_r1642319224
##########
python/pyspark/sql/connect/client/reattach.py:
##########
@@ -58,28 +58,38 @@ class ExecutePlanResponseReattachableIterator(Generator):
# Lock to manage the pool
_lock: ClassVar[RLock] = RLock()
- _release_thread_pool: Optional[ThreadPool] = ThreadPool(os.cpu_count() if
os.cpu_count() else 8)
+ _release_thread_pool_instance = None
Review Comment:
why remove the typing?
--
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]