diff --git a/storage/src/db/rocksdb.rs b/storage/src/db/rocksdb.rs index 060c2b8f..3060141e 100644 --- a/storage/src/db/rocksdb.rs +++ b/storage/src/db/rocksdb.rs @@ -120,7 +120,7 @@ impl RocksDb { let mut block_opts = BlockBasedOptions::default(); // specified cache for blocks. - let cache = Cache::new_lru_cache(1024 * 1024 * 1024).unwrap(); + let cache = Cache::new_lru_cache(1024 * 1024 * 1024); block_opts.set_block_cache(&cache); // save in LRU block cache also indexes and bloom filters