Skip to content

Commit

Permalink
Add more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aborg-dev committed Jun 12, 2023
1 parent f9fea49 commit 950a42b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nearcore/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ pub struct Config {
pub state_sync: Option<StateSyncConfig>,
/// Limit of the size of per-shard transaction pool measured in bytes. If not set, the size
/// will be unbounded.
/// New transactions that bring the size of the pool over this limit will be rejected. This
/// guarantees that the node will use bounded resources to store incoming transactinos.
/// Setting this value too low (<1MB) on the validator might lead to production of smaller
/// chunks and underutilizing the capacity of the network.
#[serde(default = "default_transaction_pool_size_limit")]
pub transaction_pool_size_limit: Option<u64>,
}
Expand Down

0 comments on commit 950a42b

Please sign in to comment.