Skip to content

Commit

Permalink
Set disk quota store isolation to serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
aaime committed Sep 23, 2024
1 parent a642c8b commit 383ce94
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public void setDataSource(DataSource dataSource) {
DataSourceTransactionManager dsTransactionManager =
new DataSourceTransactionManager(dataSource);
this.tt = new TransactionTemplate(dsTransactionManager);
this.tt.setIsolationLevel(TransactionTemplate.ISOLATION_SERIALIZABLE);
this.jt = new SimpleJdbcTemplate(dsTransactionManager.getDataSource());
}

Expand Down

0 comments on commit 383ce94

Please sign in to comment.