Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update client/state-db/src/pruning.rs
Signed-off-by: linning <[email protected]>

Co-authored-by: cheme <[email protected]>
  • Loading branch information
NingLin-P and cheme authored Aug 29, 2022
commit 917e26eaa547ab4d0b5437fbe62bc7c1cb98353f
2 changes: 1 addition & 1 deletion client/state-db/src/pruning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ enum DeathRowQueue<BlockHash: Hash, Key: Hash, D: MetaDb> {
cache: VecDeque<DeathRow<BlockHash, Key>>,
/// A soft limit of the cache's size
cache_capacity: usize,
/// The number of blocks that not loaded into `cache`
/// The number of blocks in queue that are not loaded into `cache`.
uncached_blocks: usize,
},
}
Expand Down