Skip to content

Commit 26eeeba

Browse files
authored
Use db-isolation leve READ_COMMITTED (#548)
1 parent da4d8d8 commit 26eeeba

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/no/nav/syfo/application/database

1 file changed

+1
-1
lines changed

src/main/kotlin/no/nav/syfo/application/database/Database.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Database(
3131
maximumPoolSize = daoConfig.poolSize
3232
minimumIdle = 1
3333
isAutoCommit = false
34-
transactionIsolation = "TRANSACTION_REPEATABLE_READ"
34+
transactionIsolation = "TRANSACTION_READ_COMMITTED"
3535
metricsTrackerFactory = PrometheusMetricsTrackerFactory(METRICS_REGISTRY.prometheusRegistry)
3636
validate()
3737
}

0 commit comments

Comments
 (0)