ruanwenjun commented on issue #7482:
URL: https://github.com/apache/kyuubi/issues/7482#issuecomment-4580916958

   > Threads that are actively in use in the thread pool will not be terminated.
   
   @Slashoper These parameters may not have much effect when directly shutting 
down the Hikari connection pool. Shutting down Hikari forcibly interrupts and 
closes connections that are currently in use.
   
   
https://github.com/brettwooldridge/HikariCP/blob/bba167f0a28905e8e63083cd7b5cbf479263271a/src/main/java/com/zaxxer/hikari/pool/HikariPool.java#L201-L255
   
   The main logic is 
   ```java
   this.abortActiveConnections(assassinExecutor);
   ```
   


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