Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Sep 24, 2023
1 parent aa50e96 commit 85ed637
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/storage/db/src/implementation/mdbx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ impl<E: EnvironmentKind> Env<E> {

let mut inner_env = Environment::new();

// Note: We set max dbs to 256 here to allow for custom tables. This needs to be set on environment creation.
// Note: We set max dbs to 256 here to allow for custom tables. This needs to be set on
// environment creation.
debug_assert!(Tables::ALL.len() <= 256, "number of tables exceed max dbs");
inner_env.set_max_dbs(256);
inner_env.set_geometry(Geometry {
Expand Down Expand Up @@ -119,7 +120,7 @@ impl<E: EnvironmentKind> Env<E> {
LogLevel::Extra => 7,
});
} else {
return Err(DatabaseError::LogLevelUnavailable(log_level));
return Err(DatabaseError::LogLevelUnavailable(log_level))
}
}

Expand Down

0 comments on commit 85ed637

Please sign in to comment.