fix(ci): Reduce number of sent transactions in tests (#6736)
* Reduce sent transactions in tests * rustfmt
This commit is contained in:
parent
d501d07898
commit
889e7c668e
|
@ -45,7 +45,7 @@ use crate::common::{
|
||||||
/// TODO: replace with a const when `min()` stabilises as a const function:
|
/// TODO: replace with a const when `min()` stabilises as a const function:
|
||||||
/// https://github.com/rust-lang/rust/issues/92391
|
/// https://github.com/rust-lang/rust/issues/92391
|
||||||
fn max_sent_transactions() -> usize {
|
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.
|
/// Number of blocks past the finalized to load transactions from.
|
||||||
|
|
Loading…
Reference in New Issue