Skip to content

Commit 8ccd0bf

Browse files
authored
Patch changed API of RocksDB
1 parent ac93bb5 commit 8ccd0bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

storage/src/db/rocksdb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl RocksDb {
120120
let mut block_opts = BlockBasedOptions::default();
121121

122122
// specified cache for blocks.
123-
let cache = Cache::new_lru_cache(1024 * 1024 * 1024).unwrap();
123+
let cache = Cache::new_lru_cache(1024 * 1024 * 1024);
124124
block_opts.set_block_cache(&cache);
125125

126126
// save in LRU block cache also indexes and bloom filters

0 commit comments

Comments
 (0)