Answer the question
In order to leave comments, you need to log in
How to release connection which is used by hikari?
The method has a request for an external resource that can take a long time to complete. Before that, there is work with the database and hikari transfers the connection to the active state until the method ends. How can we release the connection before we send a request to an external resource?
Answer the question
In order to leave comments, you need to log in
I think the solution to the issue will be to use the hikari connection pool (HikariCP) with several connections.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question