mirror of https://github.com/apache/activemq.git
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:
parent
d49b6e5a0f
commit
8f8f9ac529
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue