We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b86b4 commit 89cc40dCopy full SHA for 89cc40d
1 file changed
framework/src/packet_batch/send_batch.rs
@@ -79,8 +79,8 @@ impl<V> Act for SendBatch<V>
79
.and_then(|x| {
80
self.sent += x as u64;
81
if x > 0 {
82
- self.batch += 1;
83
- if self.batch > 100000 {
+ self.batch += x as u64;
+ if self.batch > 3_200_000 {
84
let time = time::precise_time_ns();
85
println!("tx {} {} {}", self.port, self.batch, time);
86
self.batch = 0;
0 commit comments