Hi there
I am trying out the Hikari connection pool and still learning its usage.
There are two warnings I see often on my app.
Connection Leaks
Connection is not available
The MaxPoolSize for me is set to 100 as I am testing scaling issues.
I am concerned about the last warning as it might be happening just about to run a query and then that fails as a connection is not available.
Whilst not really revelant / or perhaps is, my use case is on jetty using the pre-configured BANanoServer.
I am trying out the Hikari connection pool and still learning its usage.
There are two warnings I see often on my app.
Connection Leaks
B4X:
[HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.ProxyLeakTask - Connection leak detection triggered for com.mysql.cj.jdbc.ConnectionImpl@609e8838 on thread main, stack trace follows
Connection is not available
B4X:
java.lang.RuntimeException: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30006ms.
The MaxPoolSize for me is set to 100 as I am testing scaling issues.
I am concerned about the last warning as it might be happening just about to run a query and then that fails as a connection is not available.
Whilst not really revelant / or perhaps is, my use case is on jetty using the pre-configured BANanoServer.