diff --git a/backend/data/src/main/kotlin/io/tolgee/util/transactionUtil.kt b/backend/data/src/main/kotlin/io/tolgee/util/transactionUtil.kt index 007c8aea94..a581438d07 100644 --- a/backend/data/src/main/kotlin/io/tolgee/util/transactionUtil.kt +++ b/backend/data/src/main/kotlin/io/tolgee/util/transactionUtil.kt @@ -7,7 +7,6 @@ import org.springframework.transaction.support.TransactionTemplate fun executeInNewTransaction(transactionManager: PlatformTransactionManager, fn: () -> T): T { val tt = TransactionTemplate(transactionManager) tt.propagationBehavior = TransactionDefinition.PROPAGATION_REQUIRES_NEW - tt.isolationLevel = TransactionDefinition.ISOLATION_SERIALIZABLE return tt.execute { fn()