Skip to content

Commit

Permalink
Fix: msg rate acquire permit for msg/bytes (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhabalia authored and merlimat committed Aug 26, 2017
1 parent 21a618a commit a64d795
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ public synchronized void readEntriesComplete(List<Entry> entries, Object ctx) {
start += messagesForC;
entriesToDispatch -= messagesForC;
totalAvailablePermits -= msgSent;
totalMessagesSent += sentMsgInfo.getTotalSentMessageBytes();
totalBytesSent += sentMsgInfo.getTotalSentMessages();
totalMessagesSent += sentMsgInfo.getTotalSentMessages();
totalBytesSent += sentMsgInfo.getTotalSentMessageBytes();
}
}

Expand Down

0 comments on commit a64d795

Please sign in to comment.