This commit is contained in:
Dejan Bosanac 2013-09-16 15:23:37 +02:00
parent 25af8e62cc
commit 269d44cfdd
1 changed files with 4 additions and 4 deletions

View File

@ -149,10 +149,10 @@ public class AbortSlowAckConsumerStrategy extends AbortSlowConsumerStrategy {
if (getMaxSlowDuration() > 0 && (entry.getValue().markCount * getCheckPeriod() >= getMaxSlowDuration()) ||
getMaxSlowCount() > 0 && entry.getValue().slowCount >= getMaxSlowCount()) {
LOG.trace("Transferring consumer {} to the abort list: " +
"slow duration = " + entry.getValue().markCount * getCheckPeriod() + ", " +
"slow count = " + entry.getValue().slowCount,
entry.getKey().getConsumerInfo().getConsumerId());
LOG.trace("Transferring consumer{} to the abort list: {} slow duration = {}, slow count = {}",
new Object[]{ entry.getKey().getConsumerInfo().getConsumerId(),
entry.getValue().markCount * getCheckPeriod(),
entry.getValue().getSlowCount() });
toAbort.put(entry.getKey(), entry.getValue());
slowConsumers.remove(entry.getKey());