fix throughput_50

This commit is contained in:
GroovieGermanikus 2023-09-26 19:23:06 +02:00
parent 3cdab51676
commit 6c4cb46dfa
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ fn wireup_and_send_txs_via_channel(test_case_params: TestCaseParams) {
count_map.insert_or_increment(*tx.get_signature());
}
if packet_count == warmup_tx_count {
if timer2.is_none() && packet_count >= warmup_tx_count {
timer2 = Some(Instant::now());
}
} // -- while not all packets received - by count