Skip to content

Commit

Permalink
chore: lower max reload accounts (paradigmxyz#5589)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 27, 2023
1 parent b58bfe6 commit 503c401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/transaction-pool/src/maintain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}

Expand Down

0 comments on commit 503c401

Please sign in to comment.