Skip to content

Commit

Permalink
Cache size adjustments (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuris authored Oct 10, 2024
1 parent 48395d7 commit 4ae87d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firewood/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ pub struct RevisionManagerConfig {
#[builder(default = 128)]
max_revisions: usize,

#[builder(default_code = "NonZero::new(20480).expect(\"non-zero\")")]
#[builder(default_code = "NonZero::new(1500000).expect(\"non-zero\")")]
node_cache_size: NonZero<usize>,

#[builder(default_code = "NonZero::new(10000).expect(\"non-zero\")")]
#[builder(default_code = "NonZero::new(20000).expect(\"non-zero\")")]
free_list_cache_size: NonZero<usize>,
}

Expand Down

0 comments on commit 4ae87d1

Please sign in to comment.