chore: lower max reload accounts (#5589)

This commit is contained in:
Matthias Seitz
2023-11-28 00:12:36 +01:00
committed by GitHub
parent b58bfe6e37
commit 503c4010d3

View File

@ -37,13 +37,13 @@ pub struct MaintainPoolConfig {
pub max_update_depth: u64, pub max_update_depth: u64,
/// Maximum number of accounts to reload from state at once when updating the transaction pool. /// Maximum number of accounts to reload from state at once when updating the transaction pool.
/// ///
/// Default: 250 /// Default: 100
pub max_reload_accounts: usize, pub max_reload_accounts: usize,
} }
impl Default for MaintainPoolConfig { impl Default for MaintainPoolConfig {
fn default() -> Self { fn default() -> Self {
Self { max_update_depth: 64, max_reload_accounts: 250 } Self { max_update_depth: 64, max_reload_accounts: 100 }
} }
} }