mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: lower max reload accounts (#5589)
This commit is contained in:
@ -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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user