activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r886136 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Date Wed, 02 Dec 2009 13:30:34 GMT
Author: gtully
Date: Wed Dec  2 13:30:33 2009
New Revision: 886136

URL: http://svn.apache.org/viewvc?rev=886136&view=rev
Log:
don't account for wait time in cleanup log message

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java?rev=886136&r1=886135&r2=886136&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Wed Dec  2 13:30:33 2009
@@ -589,8 +589,9 @@
 	}
 
     protected void checkpointCleanup(final boolean cleanup) throws IOException {
-    	long start = System.currentTimeMillis();
+    	long start;
         synchronized (indexMutex) {
+            start = System.currentTimeMillis();
         	if( !opened.get() ) {
         		return;
         	}



Mime
View raw message