Update configuration.rs
This commit is contained in:
parent
5ef767f7f2
commit
9a16e593e2
@ -280,7 +280,7 @@ impl Configuration {
|
|||||||
|
|
||||||
// compaction profile
|
// compaction profile
|
||||||
client_config.db_compaction = match self.args.flag_db_compaction.as_str() {
|
client_config.db_compaction = match self.args.flag_db_compaction.as_str() {
|
||||||
"default" => DatabaseCompactionProfile::Default,
|
"ssd" => DatabaseCompactionProfile::Default,
|
||||||
"hdd" => DatabaseCompactionProfile::HDD,
|
"hdd" => DatabaseCompactionProfile::HDD,
|
||||||
_ => { die!("Invalid compaction profile given (--db-compaction argument), expected hdd/default."); }
|
_ => { die!("Invalid compaction profile given (--db-compaction argument), expected hdd/default."); }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user