Skip to content

Commit

Permalink
Merge pull request #480 from guardian/bt/add-hikari-cp-config
Browse files Browse the repository at this point in the history
Add configuration for Hikari connection pool for database evolutions
  • Loading branch information
rebecca-thompson authored Aug 21, 2024
2 parents b6845cd + ac7e0ba commit 6f475da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/rule-manager/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ db.default.poolInitialSize=5
db.default.poolMaxSize=7
db.default.poolConnectionTimeoutMillis=1000

# Hikari connection pool settings for database evolutions
play.db.prototype.hikaricp = {
poolName = "hikaricp"
maximumPoolSize = 2
idleTimeout = 1000
connectionTimeout = 1000
}

scalikejdbc.global.loggingSQLAndTime.enabled=true
scalikejdbc.global.loggingSQLAndTime.singleLineMode=false
scalikejdbc.global.loggingSQLAndTime.logLevel=debug
Expand Down

0 comments on commit 6f475da

Please sign in to comment.