From 8f8f9ac5291e3090a82bd5f8c51c82ffeae85d8d Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Wed, 2 Dec 2009 13:30:33 +0000 Subject: [PATCH] don't account for wait time in cleanup log message git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@886136 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/store/kahadb/MessageDatabase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java index c72141654a..e98744d583 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java @@ -589,8 +589,9 @@ public class MessageDatabase implements BrokerServiceAware { } protected void checkpointCleanup(final boolean cleanup) throws IOException { - long start = System.currentTimeMillis(); + long start; synchronized (indexMutex) { + start = System.currentTimeMillis(); if( !opened.get() ) { return; }