Skip to content

Commit

Permalink
chore: update max db size
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Jul 17, 2024
1 parent 566eeb3 commit 78a7078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/storage/db/src/implementation/mdbx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl DatabaseEnv {
inner_env.set_max_dbs(256);
inner_env.set_geometry(Geometry {
// Maximum database size of 4 terabytes
size: Some(0..(4 * TERABYTE)),
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 78a7078

Please sign in to comment.