Skip to content

Commit

Permalink
Forward and hold packets (solana-labs#15634)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakridge authored Mar 3, 2021
1 parent 6acb06f commit 830be85
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 58 deletions.
2 changes: 1 addition & 1 deletion core/benches/banking_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fn bench_consume_buffered(bencher: &mut Bencher) {
let mut packets = VecDeque::new();
for batch in batches {
let batch_len = batch.packets.len();
packets.push_back((batch, vec![0usize; batch_len]));
packets.push_back((batch, vec![0usize; batch_len], false));
}
let (s, _r) = unbounded();
// This tests the performance of buffering packets.
Expand Down
Loading

0 comments on commit 830be85

Please sign in to comment.