[exo-jcr-commits] exo-jcr SVN: r1364 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jan 12 08:39:22 EST 2010
Author: skabashnyuk
Date: 2010-01-12 08:39:22 -0500 (Tue, 12 Jan 2010)
New Revision: 1364
Modified:
jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/CacheableWorkspaceDataManager.java
Log:
EXOJCR-331 : setTransactionTimeout(Integer.MAX_VALUE)
Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/CacheableWorkspaceDataManager.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/CacheableWorkspaceDataManager.java 2010-01-12 13:30:30 UTC (rev 1363)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/CacheableWorkspaceDataManager.java 2010-01-12 13:39:22 UTC (rev 1364)
@@ -199,7 +199,8 @@
try
{
transactionManager.begin();
- transactionManager.setTransactionTimeout(20);
+ //should be configured from xml in feature
+ transactionManager.setTransactionTimeout(Integer.MAX_VALUE);
cache.beginTransaction();
super.save(changesLog);
cache.commitTransaction();
More information about the exo-jcr-commits
mailing list