Skip to content

Commit b183704

Browse files
aaimejodygarnett
authored andcommitted
Set disk quota store isolation to serializable
1 parent 2384a56 commit b183704

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

geowebcache/diskquota/jdbc/src/main/java/org/geowebcache/diskquota/jdbc/JDBCQuotaStore.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public void setDataSource(DataSource dataSource) {
126126
DataSourceTransactionManager dsTransactionManager =
127127
new DataSourceTransactionManager(dataSource);
128128
this.tt = new TransactionTemplate(dsTransactionManager);
129+
this.tt.setIsolationLevel(TransactionTemplate.ISOLATION_SERIALIZABLE);
129130
this.jt = new SimpleJdbcTemplate(dsTransactionManager.getDataSource());
130131
}
131132

0 commit comments

Comments
 (0)