fix(ci): Reduce number of sent transactions in tests (#6736)

* Reduce sent transactions in tests

* rustfmt
This commit is contained in:
teor 2023-05-22 22:05:40 +10:00 committed by GitHub
parent d501d07898
commit 889e7c668e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ use crate::common::{
/// TODO: replace with a const when `min()` stabilises as a const function:
/// https://github.com/rust-lang/rust/issues/92391
fn max_sent_transactions() -> usize {
min(CHANNEL_AND_QUEUE_CAPACITY, MAX_INBOUND_CONCURRENCY) - 1
min(CHANNEL_AND_QUEUE_CAPACITY, MAX_INBOUND_CONCURRENCY) / 2
}
/// Number of blocks past the finalized to load transactions from.