Skip to content

Commit

Permalink
chore: update max db size (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing authored Jul 17, 2024
1 parent 566eeb3 commit f621843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/storage/db/src/implementation/mdbx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ impl DatabaseEnv {
debug_assert!(Tables::ALL.len() <= 256, "number of tables exceed max dbs");
inner_env.set_max_dbs(256);
inner_env.set_geometry(Geometry {
// Maximum database size of 4 terabytes
size: Some(0..(4 * TERABYTE)),
// Maximum database size of 8 terabytes
size: Some(0..(8 * TERABYTE)),
// We grow the database in increments of 4 gigabytes
growth_step: Some(4 * GIGABYTE as isize),
// The database never shrinks
Expand Down

0 comments on commit f621843

Please sign in to comment.