mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

abobrov
24.14.2009 1edd5068bf0b63cbd67c615942ad5c545440d476
opends/src/server/org/opends/server/replication/server/ReplicationDbEnv.java
@@ -47,6 +47,7 @@
import com.sleepycat.je.LockMode;
import com.sleepycat.je.OperationStatus;
import com.sleepycat.je.Transaction;
import java.util.concurrent.TimeUnit;
/**
 * This class is used to represent a Db environment that can be used
@@ -89,7 +90,6 @@
    envConfig.setAllowCreate(true);
    envConfig.setTransactional(true);
    envConfig.setConfigParam("je.cleaner.expunge", "true");
    envConfig.setConfigParam("java.util.logging.FileHandler.on", "true");
    envConfig.setConfigParam("je.cleaner.threads", "2");
    envConfig.setConfigParam("je.checkpointer.highPriority", "true");
@@ -102,7 +102,7 @@
    // deleted at the beginning of the Replication log, this should never
    // cause any deadlock. It is therefore safe to increase the TXN timeout
    // to 10 seconds.
    envConfig.setTxnTimeout(10000000);
    envConfig.setTxnTimeout(10, TimeUnit.SECONDS);
    dbEnvironment = new Environment(new File(path), envConfig);
    /*