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
This commit is contained in:
Gary Tully 2009-12-02 13:30:33 +00:00
parent d49b6e5a0f
commit 8f8f9ac529
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}