Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Sep 23, 2022
1 parent ee2c9ee commit a95ba2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jgroups/protocols/BatchBundler.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ protected synchronized boolean addMessage(Message msg) {
}

int msg_bytes = msg.getLength();
if(total_bytes + msg_bytes > transport.getBundler().getMaxSize()) {
if(total_bytes + msg_bytes > max_size) {
num_ebs_sent_due_to_full_queue++;
sendBatch(false);
}
Expand Down

0 comments on commit a95ba2f

Please sign in to comment.