From 96f9523b4e8d45d162504f2419c80d3b770ac0dd Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 17 May 2011 00:18:32 +0000 Subject: Default max checkpoint interval at 1 minute. --- .../com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/repo/sleepycat') 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. * *

Checkpoint threshold is only used by Carbonado's built-in * checkpointer, and is ignored when using BDB-JE. -- cgit v1.2.3