activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r912087 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Date Sat, 20 Feb 2010 08:37:21 GMT
Author: rajdavies
Date: Sat Feb 20 08:37:20 2010
New Revision: 912087

URL: http://svn.apache.org/viewvc?rev=912087&view=rev
Log:
speed up Durable Topic Subscribers somewhat

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=912087&r1=912086&r2=912087&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
Sat Feb 20 08:37:20 2010
@@ -1307,6 +1307,9 @@
                                 // iterating the BTree since
                                 // iterating would fail.
                                 deletes.add(entry);
+                            }else {
+                                //no point in iterating the in-order sequences anymore
+                                break;
                             }
                         }
 



Mime
View raw message