ShauryaChauhan1411 commented on issue #17268:
URL: https://github.com/apache/iotdb/issues/17268#issuecomment-4041107100

   I have submitted a Pull Request (#17287) to optimize the thread pool in 
SessionPoolExample.
   
   The implementation now uses a bounded ThreadPoolExecutor with an 
ArrayBlockingQueue and CallerRunsPolicy to prevent potential OOM issues and 
ensure better resource management. Please review the changes.


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

Reply via email to