We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac93bb5 commit 8ccd0bfCopy full SHA for 8ccd0bf
1 file changed
storage/src/db/rocksdb.rs
@@ -120,7 +120,7 @@ impl RocksDb {
120
let mut block_opts = BlockBasedOptions::default();
121
122
// specified cache for blocks.
123
- let cache = Cache::new_lru_cache(1024 * 1024 * 1024).unwrap();
+ let cache = Cache::new_lru_cache(1024 * 1024 * 1024);
124
block_opts.set_block_cache(&cache);
125
126
// save in LRU block cache also indexes and bloom filters
0 commit comments