de-feature rocksdb

This commit is contained in:
Jason Volk committed 2024-06-30 18:02:16 +00:00
1 parent cb48e25783
commit 30b5ad3870
6 files changed
+1 -39

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ pub fn check(config: &Config) -> Result<(), Error> {
});
// rocksdb does not allow max_log_files to be 0
if config.rocksdb_max_log_files == 0 && cfg!(feature = "rocksdb") {
if config.rocksdb_max_log_files == 0 {
return Err(Error::bad_config(
"When using RocksDB, rocksdb_max_log_files cannot be 0. Please set a value at least 1.",
));