activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1142989 - /activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
Date Tue, 05 Jul 2011 11:15:06 GMT
Author: chirino
Date: Tue Jul  5 11:15:05 2011
New Revision: 1142989

URL: http://svn.apache.org/viewvc?rev=1142989&view=rev
Log:
Fixes https://issues.apache.org/jira/browse/APLO-64 : Apollo/REST: incorrect dequeue_ts

Modified:
    activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala

Modified: activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala?rev=1142989&r1=1142988&r2=1142989&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
Tue Jul  5 11:15:05 2011
@@ -176,7 +176,7 @@ case class BrokerResource() extends Reso
 
       rc.dequeue_item_counter += q.dequeue_item_counter
       rc.dequeue_size_counter += q.dequeue_size_counter
-      rc.dequeue_ts += rc.dequeue_ts max q.dequeue_ts
+      rc.dequeue_ts = rc.dequeue_ts max q.dequeue_ts
 
       rc.nack_item_counter += q.nack_item_counter
       rc.nack_size_counter += q.nack_size_counter



Mime
View raw message