diff --git a/prime-router/src/main/kotlin/azure/DatabaseAccess.kt b/prime-router/src/main/kotlin/azure/DatabaseAccess.kt index 9dd6fbd8b8e..27d259e574b 100644 --- a/prime-router/src/main/kotlin/azure/DatabaseAccess.kt +++ b/prime-router/src/main/kotlin/azure/DatabaseAccess.kt @@ -1414,11 +1414,7 @@ class DatabaseAccess(val create: DSLContext) : Logging { config.addDataSourceProperty("cachePrepStmts", "true") config.addDataSourceProperty("prepStmtCacheSize", "250") config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048") - config.addDataSourceProperty( - "connectionTimeout", - "60000" - ) // Default is 30000 (30 seconds) - + config.connectionTimeout = 60000 // default is 30000 // See this info why these are a good value // https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing config.minimumIdle = 2