We have a DatabaseBinaryStore, with this configuration:
By default DatabaseBinaryStore creates a HikariDataSource without any pooling configuration thats causes the same problems that in this Related issue:
The HikariCP has the minIdle configuration which decides the number of idle connections that remain open even after the idle timeout has expired. When not configured, the minIdle is set to the maximumPoolSize value.
We need a way to configure minIdle and other properties of hikariCP.