Skip to content

Commit

Permalink
Update Database.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasDev authored Jul 17, 2023
1 parent 64ea932 commit 2daa22d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/syfo/db/Database.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class Database(private val env: Environment, retries: Long = 30, sleepTime: Long
jdbcUrl = "jdbc:postgresql://${env.dbHost}:${env.dbPort}/${env.dbName}"
username = env.databaseUsername
password = env.databasePassword
maximumPoolSize = 10
minimumIdle = 3
maximumPoolSize = 2
minimumIdle = 1
isAutoCommit = false
transactionIsolation = "TRANSACTION_REPEATABLE_READ"
validate()
Expand Down

0 comments on commit 2daa22d

Please sign in to comment.