Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2723

Add the ability to configure the minIdle property for HikariCP in DatabaseBinaryStore

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4.1.Final
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None

      Description

      We have a DatabaseBinaryStore, with this configuration:

      "binaryStorage": 
      {
      			"type": "database",
      			"driverClass": "oracle.jdbc.driver.OracleDriver"
      }
      

      By default DatabaseBinaryStore creates a HikariDataSource without any pooling configuration thats causes the same problems that in this Related issue: MODE-2674

      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.

      Thank you.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iagotb Iago Trancón Barros
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: