Skip to content

Commit

Permalink
Solving H2 1.4 slowness?
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed May 31, 2017
1 parent 36b790e commit ca14a19
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -170,7 +170,7 @@ private void normalizeConfiguration(SqlRepositoryConfiguration config) throws Re
//Both read locks and write locks are kept until the transaction commits.
jdbcUrl.append(";LOCK_MODE=1");
//fix for "Timeout trying to lock table [50200-XXX]" in H2 database. Default value is 1000ms.
jdbcUrl.append(";LOCK_TIMEOUT=10000");
jdbcUrl.append(";LOCK_TIMEOUT=100"); // experimental setting - let's resolve locking conflicts by midPoint itself
//we want to store blob datas (full xml object right in table (it's always only a few kb)
jdbcUrl.append(";MAX_LENGTH_INPLACE_LOB=10240");

Expand Down

0 comments on commit ca14a19

Please sign in to comment.