summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2011-05-17 00:18:32 +0000
committerBrian S. O'Neill <bronee@gmail.com>2011-05-17 00:18:32 +0000
commit96f9523b4e8d45d162504f2419c80d3b770ac0dd (patch)
tree86252fd94e681664ac3a38d6ae5689b6052f6cec /src
parent94b490414a163c88282d2378edc6699bb6dd4682 (diff)
Default max checkpoint interval at 1 minute.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java
index 6def603..0cc304a 100644
--- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java
+++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java
@@ -113,7 +113,7 @@ public final class BDBRepositoryBuilder extends AbstractRepositoryBuilder {
private boolean mRunCheckpointer = true;
private int mCheckpointInterval = DEFAULT_CHECKPOINT_INTERVAL;
private int mCheckpointThresholdKB = 1024;
- private int mCheckpointThresholdMinutes = 5;
+ private int mCheckpointThresholdMinutes = 1;
private boolean mKeepOldLogFiles;
private boolean mRunDeadlockDetector = true;
private Boolean mChecksumEnabled;
@@ -865,7 +865,7 @@ public final class BDBRepositoryBuilder extends AbstractRepositoryBuilder {
/**
* Set the time threshold to run checkpoints. This setting is ignored if
- * the checkpointer is not configured to run. Default value is 5 minutes.
+ * the checkpointer is not configured to run. Default value is 1 minute.
*
* <p>Checkpoint threshold is only used by Carbonado's built-in
* checkpointer, and is ignored when using BDB-JE.