Skip to content

Commit

Permalink
NAKACK2.removeAndDeliver(): increment FastArray by 1024 rather than (…
Browse files Browse the repository at this point in the history
…default) 5
  • Loading branch information
belaban committed Aug 27, 2024
1 parent 3733c34 commit d50bc13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/jgroups/protocols/pbcast/NAKACK2.java
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ protected void removeAndDeliver(Table<Message> buf, Address sender, boolean loop
return;
boolean remove_msgs=discard_delivered_msgs && !loopback;
MessageBatch batch=new MessageBatch(buf.size()).dest(null).sender(sender).clusterName(cluster_name).multicast(true);
batch.array().increment(1024);
Supplier<MessageBatch> batch_creator=() -> batch;
MessageBatch mb=null;
do {
Expand Down

0 comments on commit d50bc13

Please sign in to comment.