set default rocksdb log level to error

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-06 18:17:03 -05:00 committed by June
parent e90cd48f61
commit 7bfb86a851
2 changed files with 3 additions and 3 deletions

View file

@ -44,9 +44,9 @@ fn db_options(rocksdb_cache: &rocksdb::Cache, config: &Config) -> rocksdb::Optio
let rocksdb_log_level = match config.rocksdb_log_level.as_ref() {
"debug" => Debug,
"info" => Info,
"error" => Error,
"warn" => Warn,
"fatal" => Fatal,
_ => Warn,
_ => Error,
};
let threads = if config.rocksdb_parallelism_threads == 0 {