activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1042516 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
Date Mon, 06 Dec 2010 04:18:23 GMT
Author: chirino
Date: Mon Dec  6 04:18:23 2010
New Revision: 1042516

URL: http://svn.apache.org/viewvc?rev=1042516&view=rev
Log:
Favor slowing down producers if there is a chance the consumer can catch up.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala?rev=1042516&r1=1042515&r2=1042516&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
Mon Dec  6 04:18:23 2010
@@ -1368,9 +1368,9 @@ class Subscription(queue:Queue) extends 
     }
 
     remaining = if(tail_parkings > 0) {
-      queue.tune_consumer_buffer
+      queue.tune_consumer_buffer * 100
     } else {
-      best_advanced_size
+      best_advanced_size * 10
     }
 
     while( remaining>0 && next!=null ) {



Mime
View raw message