From 64a59c0bf3e437cfa7a60df1717cab1f0035f7eb Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 27 Nov 2023 13:16:11 +0100 Subject: [PATCH] chore: lower max reload accounts --- crates/transaction-pool/src/maintain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/transaction-pool/src/maintain.rs b/crates/transaction-pool/src/maintain.rs index 4f834de4de3b..4a7c6400eebf 100644 --- a/crates/transaction-pool/src/maintain.rs +++ b/crates/transaction-pool/src/maintain.rs @@ -37,13 +37,13 @@ pub struct MaintainPoolConfig { pub max_update_depth: u64, /// Maximum number of accounts to reload from state at once when updating the transaction pool. /// - /// Default: 250 + /// Default: 100 pub max_reload_accounts: usize, } impl Default for MaintainPoolConfig { fn default() -> Self { - Self { max_update_depth: 64, max_reload_accounts: 250 } + Self { max_update_depth: 64, max_reload_accounts: 100 } } }