Skip to content

Commit df550f5

Browse files
committed
Limit max pending message bundles in benchmarks
1 parent 1af1cf8 commit df550f5

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

linera-service/src/cli/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ impl Runnable for Job {
865865
None,
866866
n,
867867
on_drop,
868+
benchmark_options.transactions_per_block,
868869
vec![
869870
"--storage-max-stream-queries".to_string(),
870871
"50".to_string(),

linera-service/src/cli_wrappers/wallet.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ impl ClientWrapper {
109109
testing_prng_seed,
110110
id,
111111
on_drop,
112+
10_000,
112113
vec!["--wait-for-outgoing-messages".to_string()],
113114
)
114115
}
@@ -119,6 +120,7 @@ impl ClientWrapper {
119120
testing_prng_seed: Option<u64>,
120121
id: usize,
121122
on_drop: OnClientDrop,
123+
max_pending_message_bundles: usize,
122124
extra_args: Vec<String>,
123125
) -> Self {
124126
let storage = format!(
@@ -134,7 +136,7 @@ impl ClientWrapper {
134136
storage,
135137
wallet,
136138
keystore,
137-
max_pending_message_bundles: 10_000,
139+
max_pending_message_bundles,
138140
network,
139141
path_provider,
140142
on_drop,

0 commit comments

Comments
 (0)