Hi guys.
This is driving me crazy, when we have process intensive processes we more often than not got stuck with connections in situations like this:
Pool stats (total=10, active=10, idle=0, waiting=22)
While debugging the possible culprits I ended up on this:
public static class NoOpCloseHandler implements ConnectionCloseHandler {
@Override
public void close(Connection connection) {
}
@Override
public void commit(Connection connection) throws SQLException {
connection.commit();
}
}
As you can see that close doe nothing, so I'm supposing this causes the wrapped-around connection to be open and cause my problem? I do not know this exactly because that code is buried deep down axon I couldn't find a way to change the way axon is configured in order to change it.
Basically what we have is a hikari connection wrapping a pg connection, that it seems is being wrapped by axon.
Can somebody explain what's happening here and why axon don;t want connections to be closed?
Cheers.