Increased timeout to avoid spurious timeouts. Added MVCC flag to allow

better concurrency and prevents deadlocks when multiple transactions are
occurring at once, as has happened on Vega.
This commit is contained in:
Clinton Alexander
2016-09-19 13:43:01 +01:00
parent dc162358c4
commit 7d7418095e

View File

@ -6,7 +6,7 @@ keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"
dataSourceProperties = {
dataSourceClassName = org.h2.jdbcx.JdbcDataSource
"dataSource.url" = "jdbc:h2:"${basedir}"/persistence;DB_CLOSE_ON_EXIT=FALSE"
"dataSource.url" = "jdbc:h2:"${basedir}"/persistence;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=true"
"dataSource.user" = sa
"dataSource.password" = ""
}